Skip to content

Releases: ragardner/tksheet

5.6.5

31 Mar 06:56
Compare
Choose a tag to compare

Version 5.6.5

Fixed:

5.6.4

30 Mar 17:52
Compare
Choose a tag to compare

Version 5.6.4

Fixed:

  • set_row_heights()/set_column_widths() failing to set if iterable was empty
  • delete_rows()/delete_columns() failing to delete row heights, column widths if arg is empty
  • Edges of grid lines appearing when not meant to

Changed:

  • Add redraw option for change_theme()

5.6.3

29 Mar 15:42
Compare
Choose a tag to compare

Version 5.6.3

Fixed:

  • Dropdown boxes in main table not opening in certain circumstances
  • Scrollbars not having correct column/rowspan
  • Error when moving header height
  • Resizing arrows still showing up when hiding header/index if height/width resizing enabled

Added:

  • header startup argument, same as headers

Changed:

  • Increase default maximum undos from 20 to 30
  • Removed dropdown box border, to get them back use show_dropdown_borders = True on startup or with set_options()
  • Removed unnecessary variables and tidied __init__ code

5.6.2

27 Mar 16:31
Compare
Choose a tag to compare

Version 5.6.2

Fixed:

  • #154
  • delete_column() not working with hidden columns
  • insert_column()/insert_columns() not working correctly with hidden columns

Added:

  • delete_columns(), delete_rows()

Changed:

  • delete_column()/delete_row() now use delete_columns()/delete_rows() internally
  • insert_column() now uses insert_columns() internally

5.6.1

26 Mar 12:45
Compare
Choose a tag to compare

Version 5.6.1

Fixed:

Changed:

  • Adjust dropdown arrow sizes for more consistency for varying fonts

5.6.0

25 Mar 18:32
Compare
Choose a tag to compare

Version 5.6.0

Fixed:

  • Issues and possible errors with dropdowns/checkboxes/cell edits
  • delete_dropdown()/delete_checkbox() issues

Changed:

  • Deprecated external functions create_text_editor()/get_text_editor_value()/bind_text_editor_set() as they no longer worked both externally and internally, use open_cell() instead
  • Renamed internal function get_text_editor_value() to close_text_editor()

Improved:

  • Slightly boost performance if there are many cells onscreen and gridlines are showing
  • You can now use the scroll wheel in the header to vertically scroll if there are multiple lines in the column headers
  • Improvements to text editor
  • Text now draws slightly closer to cell edges in certain scenarios
  • Improved visibility of dropdown box against sheet background
  • Improved dropdown window height
  • black theme selected cells border color
  • light green theme selected cells background color

5.5.1

21 Mar 18:21
Compare
Choose a tag to compare

Version 5.5.1

Fixed:

  • display_columns() no longer redraws if deselect_all is True even when redraw is False
  • extra_bindings() cell editors carrying out cell edits even if validation function returns None
  • Index and header alignments wrongly associated with column and row alignments if align_header/align_index were False
  • Undo drag and drop wrong position if columns move back to higher index
  • Error when shift b1 press in headers/index while using extra bindings

Changed:

  • Internal variable name data_ref to data
  • get_currently_selected() and currently_selected() see documentation for more information
  • The way extra_bindings() + begin_edit_cell works, now if None is returned then the cell editor will not be opened
  • Paste repeats when selection box is larger than pasted items and is a multiple of pasted box
  • move_row()/move_column() now internally use move_rows()/move_columns()
  • black theme text to be a lot brighter

Added:

  • Spacebar to edit cell keys
  • Function open_cell() which uses currently selected box and mouse event
  • Function data see the documentation for more info
  • Functions get_cell_alignments(), get_row_alignments(), get_column_alignments(), reset_all_options(), delete_out_of_bounds_options()
  • Functions move_columns(), move_rows()

5.5.0

17 Mar 17:03
Compare
Choose a tag to compare

Version 5.5.0

  • Deprecate functions display_subset_of_columns(), displayed_columns()
  • Change get_text_editor_value() function argument destroy_tup to editor_info
  • Change display_columns() function argument indexes to columns
  • Change display_columns() function argument enable to all_columns_displayed
  • Change some internal variable names
  • Remove all calls to update() from tksheet
  • Fix row index "e" text alignment bug
  • Fix checkbox text not showing in main table when not using west alignment
  • Fix total_rows() bug
  • Fix dropdown arrow being asymmetrical with different font sizes
  • Fix incorrect default headers while using hidden columns
  • Fix issue with get_sheet_data() if including index and header not putting a corner cell in the top left
  • Modify redrawing code, slightly improve redrawing efficiency in some scenarios
  • Add dropdown boxes, check boxes and cell editing to index
  • Add options edit_cell_validation which is an option for extra_bindings, see the documentation for more info
  • Add function yield_sheet_rows() which includes default index and header values if using them
  • Add function hide_columns() which allows input of columns to hide, instead of columns to display
  • Add functions related to index editing, checkboxes and dropdown boxes
  • Add default argument show_default_index_for_empty
  • Add Edit header option to in-built right click menu if both are enabled
  • Add Edit index option to in-built right click menu if both are enabled
  • Add Edit cell option to in-built right click menu if both are enabled
  • Documentation updates

5.4.1

29 Jul 12:01
d3547b8
Compare
Choose a tag to compare

Version 5.4.1

  • Fix bugs with functions readonly_header(), checkbox() and header_checkbox()
  • Clarify table colors documentation