evrencoskun / TableView

TableView is a powerful Android library for displaying complex data structures and rendering tabular data composed of rows, columns and cells.
MIT License
3.14k stars 459 forks source link

Wrong selection after sorting #291

Open niko1312 opened 4 years ago

niko1312 commented 4 years ago

Hi, i found an issue with row header selection after you sort any row. Important is not to scroll the table up or down after scroll. Just select cells in the visible part of the table and you will notice that the shadowed row header sometimes is different from corresponding selected cell.

evrencoskun commented 4 years ago

Hi @niko1312 It's a known issue. You need to clear selection after sorting process. Please check this out: #269

niko1312 commented 4 years ago

Hm, weird. I put tableView.getSelectionHandler().clearSelection()inonMenuItemClick() right before the actual sorting is executed but nothing new :( when i start clicking on different cells the row header is shadowed randomly.