TableView supporting row/colume/cell selection
yxdragon opened this issue · 1 comments
yxdragon commented
Is your feature request related to a problem? Please describe.
I found TableView did not support select by colume or cell (just like excel)
and may have sume performance problem when render a large dataframe with many rows and columes.
So I want to build a new TableView supporting selected by row/col/cell, editing cell, and render large dataframe.
Describe the solution you'd like
So I wrote one with canvas, I draw everything by canvas, now it is just ok!
- a virtual view, which can draw very large data smoothly, (just draw the rows needed)
- select by row, colume or cell (ctrl to invert selection and shift to union selection like excel).
- adjust row height and colume width when cursor in the header sep.
but now I do not know how to implements editing. (when double click a cell, select and highlight the background, with cursor flashing)
Describe alternatives you've considered
- I can draw the highlight background, even I can draw the cursor flashing in after function recursively.
- I can also place a Entry in the cell, But then I need to manage the size, border, and background. re place it when ever the canvas scrolled.
But I think the both are not the best way. any good suggestions?
Additional context
Is it useable for ttkbootstrap when completed? It could be called GridView.