Hi,
I'm using PF 3.0.M4. I have a lazy loaded datatable; when I add/remove a record I also update the rowCount of the model with e.g., lazydata.setRowCount(lazydata.getRowCount() + 1);
There are currently two issues:
1) Either remove/add record results in only one page number (the current) being displayed in the datatable footer. I can still use the page arrows to move to the previous page, in which case the rest of the page numbers appear then. How do I keep the number of page list active on add/remove actions?
2) When I delete the last record of a page, the open page is still the one from which the record was deleted; the page is empty as expected. I can again successfully navigate to the previous page with the rest of the records. How do I make the datatable to switch the previous page if the record on the active page is the last one when removing it?
Thank you!
T.
updating paginator with lazy model on row add/del
-
- Information
-
Who is online
Users browsing this forum: No registered users and 44 guests