RowHighlighted behavior #2450
-
I'm wondering about the consistency of the behavior of a highlighted row in a datatable. If I run the following code, it will display the table, sorted as requested, with the top row highlighted. But the log generated by hitting space shows that the row currently highlighted isn't actually the same one reported by the most recent RowHighlighted. It's positionally consistent, but not in terms of row key or row content. Aren't the currently highlighted row, and the one reported by the last RowHighlighted, materially out of sync? Given that's how it works, however, how can I get the key for the row at the index self.table.cursor_row? Can I force a RowHighlighted event after the sort? Thanks!
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Could you explain what your code is trying to do? Sorry but it is a bit difficult to understand through the red mist of mypy errors in my editor. |
Beta Was this translation helpful? Give feedback.
Could you explain what your code is trying to do? Sorry but it is a bit difficult to understand through the red mist of mypy errors in my editor.