there is a problem with paginator update in dataTable component.
I have the following situation: table in database has 30 records, pageSize in datatable is set to 10 and the lazyLoading is set to true.
The first time dataTable is rendered there are 3 pages, each containing 10 rows.
Then I add a new row to database table (so now it has 31 rows) and then I go to page 2 but dataTable still has 30 rows on 3 pages, so I can't see the 31st element I've just added.
I expected the dataTable to update it's paginator, so now it would have 4 pages with 1 element on the last page.
Setting the rowCount property of LazyDataModel with new value every time I load new portion of data doesn't help.
I thing the problem is in DataTableRenderer in method encodeEnd - when the request is DataManipulationRequest then paginators should be re-rendered, because the total number of elements could change meanwhile and the number of pages would be out of date...
I think it should be fixed. Thanks!