livebook-dev / kino

Client-driven interactive widgets for Livebook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Changing sort column stays on the same page

LostKobrakai opened this issue · comments

When changing sort columns my expectation would be that the currently shown page would reset and not stay the same it was before.

Can you be a bit more concrete or provide a small gif/video? What is the code/data? What page did you navigate to? How did you change the order?

Ah sorry. I'm querying a db using the kino smart cell and I'm talking about the table output kino provides (there and in other usecases).

When I have a paginated result and go to e.g. page 3 and then hit a column heading to change the sort order the table view will stay on page 3. My expectation would be it going to page 1, when the sort order (or at least the sort column) is changed.

Makes sense, thank you! PRs are also welcome!