Hi
I’ve created a small sample project here.
User now has a superUser so we can use treeDataGrid. And I’ve added pagination with 2,10,50 items per page to demonstrate (default 10).
When opening the view the second user initially has a subUser. But when changing pagination to 2, I’m not able to see the subUser anymore. Also it won’t appear on second page. I didn’t test this on larger projects, but I’m afraid the last one per page cannot be opened.
Further, after changing pagination to 2 the info label only says ‘1-2 rows of’ without total count.
This issue is not limited to treeDataGrid — it seems to occur in general with simplePagination.
This only happens when, on the initial view load, the total number of loaded entities fits into a single page (i.e. there is no need to paginate initially).
If, on the initial load, enough entities are returned so that pagination is required immediately (multiple pages exist right away), the label is rendered correctly and continues to work as expected.
Jmix Version 2.7.4
Do you have suggestions how I can handle this behavior?
Best regards
Stefanie