Skip to content

ragardner/tksheet

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
July 23, 2023 18:36
July 23, 2023 18:38
July 10, 2023 10:08
April 13, 2023 10:48
May 29, 2023 12:27
July 23, 2023 18:38

tksheet PyPI version shields.io python License: MIT GitHub Release Date Downloads

Python tkinter table widget


#To install using pip
pip install tksheet

#To update using pip
pip install tksheet --upgrade

Help


NOTICE:

With versions 5.5.0+ if you use extra_bindings() with "edit_cell"/"end_edit_cell" you must provide a return value in your bound function to set the cell value to. To disable this behavior in these versions use option edit_cell_validation = False in your Sheet() initialisation arguments or use set_options(edit_cell_validation = False). See here for more information on this issue and if you need to very directly set the cell data.

Features


  • Display and modify tabular data
  • Stores its display data as a Python list of lists, sublists being rows
  • Runs smoothly even with millions of rows/columns
  • Edit cells directly
  • Cell values can potentially be any class, the default is any class with a __str__ method
  • Drag and drop columns and rows
  • Multiple line header and index cells
  • Expand row heights and column widths
  • Change fonts and font size (not for individual cells)
  • Change any colors in the sheet
  • Create an unlimited number of high performance dropdown and check boxes
  • Hide rows and/or columns
  • Left "w", Center "center" or Right "e" text alignment for any cell/row/column

light blue theme


tksheet light blue theme

black theme


tksheet black theme