Keytable keep selected cell to previous data, not position

Keytable keep selected cell to previous data, not position

samsun79samsun79 Posts: 2Questions: 1Answers: 0

I noticed in a previous version of datatables + keytable, after you sort a column, the selected cell remained with the original data whereas the current behavior is that it will remain on the cell position. For example if row 1, cell 1 position is selected with the text "AAA" and that column is sorted, the previous version kept "AAA" selected. The current behavior will select "ZZZ" as that is now in row 1, cell 1. I hope that makes sense. Is there a setting to mimic the previous behavior?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin
    edited September 2022 Answer ✓

    Hi,

    Yes you are correct. There isn't an option to retain the behavior from before I'm afraid. I think it was KeyTable 2.6.0 that changed this and it was to support server-side processing.

    I can see how both of the different behaviours could be desired. I'd take a pull request to add an option for that.

    Allan

  • samsun79samsun79 Posts: 2Questions: 1Answers: 0

    Thank you!

Sign In or Register to comment.