You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm trying to use your provider with Vaadin 10(beta10) and I struggle with sort order not working properly. I have 'FilterablePageableDataProvider' attached to 'com.vaadin.flow.component.grid.Grid' . I have a few columns defined as sortable in the Grid. Now when I click on any sortable column, I cannot see a proper sorted column name in 'fetchFromBackEnd' method in Pageable object (using code below).
We had the same issue until we found out the obvious: Pagination needs unique entries - i.e. if you sort a grid based on a row that is not unique, then pagination will possibly return the same elements twice or others not even once. --> make sure that you sort based on a row AND some unique row (e.g. ID)
Hello,
I'm trying to use your provider with Vaadin 10(beta10) and I struggle with sort order not working properly. I have 'FilterablePageableDataProvider' attached to 'com.vaadin.flow.component.grid.Grid' . I have a few columns defined as sortable in the Grid. Now when I click on any sortable column, I cannot see a proper sorted column name in 'fetchFromBackEnd' method in Pageable object (using code below).
What I always get is column name defined in getDefaultSortOrders() ... in provider. Any ideas what is going one here?
BTW: Thanks for such a great addon!
The text was updated successfully, but these errors were encountered: