Comments (4)
Currently if there's an extra begin edit cell function it will use the text from the sheet data no matter the keystroke but I think there are far too many extra cell edit bindings and it's messy and needs cleaning up,
I'll work on it now, thanks for letting me know
from tksheet.
@cpellet I think it should be fixed now;
To put something other than the keypress into the cell edit window you will need to use
self.sheet.extra_bindings("begin_edit_cell", <your begin edit cell function name here>)
or as a list of tuples if you have more than one binding to do
If your begin edit cell function returns anything other than None
then that return value will be the one that appears inside the cell edit window, currently it has to be a string, but I'll change that to any type with a str() method in the future
Full release notes:
Version 4.7.3
- Make
"begin_edit_cell"
and"end_edit_cell"
the only two edit cell bindings for use withextra_bindings()
function (although"edit_cell"
still works and is the equivalent of"end_edit_cell"
) - Make it so if
"begin_edit_cell"
binding returns anything other thanNone
the text in the cell edit window will be that return value otherwise it will be the relevant keypress - Prevent auto resize from firing two redraw commands in one go
- Fixed issue where clicking outside of cell edit window and Sheet would return focus to the Sheet widget anyway
- Fixed issues where row/column select highlight would be lower in canvas than cell selections
- Hopefully simplified cell edit code a bit
- Fix undo delete columns error for python versions < 3.8
from tksheet.
I think it still needs more work though to integrate auto fill properly and fix some ongoing issues like Escape focus and cell selection/highlight rectangles raise/lower order
from tksheet.
Thank you for the quick fix! Now works as intended
from tksheet.
Related Issues (20)
- Higher resolution support HOT 9
- Add prompt for wrong keyward args in get_sheet_data/get_cell_data/get_row_data/get_column_data HOT 1
- Issue with set_sheet_data HOT 6
- Manually set displayed row index HOT 3
- Dropdown menu fails to open if some rows are hidden HOT 2
- Update cells data using specific conditions on user input. HOT 27
- SyntaxWarning HOT 3
- Currently selected cell rows in sheet vs in data HOT 2
- on Rpi5, OS debian bookworm, tksheet's sheet defined col-w & row-h of 10x16 cells size has slow/lagging mouse's cursor movement HOT 12
- How to fix the maximum size of characters in tksheet ceels HOT 6
- The tabel font does not change. HOT 1
- How to Check if a Check Box is checked in tksheet 7 HOT 1
- How to accept user input even if "enter" is not pressed HOT 4
- Looking to customize scrollbar and scrollbar frame bg HOT 2
- Don't work keyboard UP arrow when navigating through the table of tksheet HOT 1
- Multiple issues with Toggle Select Mode
- Partial Horizontal Scrolling HOT 2
- Rows sorting? HOT 2
- Cell Selection Persistence HOT 2
- Keypad enter button ignored HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tksheet.