GwtMaterialDesign / gwt-material-table

A complex table component designed for the material design specifications
https://gwtmaterialdesign.github.io/gmd-table-demo/
Apache License 2.0
27 stars 31 forks source link

MaterialDataPager with remote filtering MaterialDataTable. #132

Closed phisoftware closed 6 years ago

phisoftware commented 6 years ago

The bellow function is into in the MaterialDataPager class.

/**

When loadResult size is bigger than its previous size, the visible range will be smaller than row count. soo the table dont show all rows...

finalLimit must be calculated in public void onSuccess(LoadResult loadResult) method...

you can test it with remote filtering data table...

and i cannot Override that doLoad function because declaration of offset, dataSource, totalRows , table are private...

kevzlou7979 commented 6 years ago

Duplicate of https://github.com/GwtMaterialDesign/gwt-material-table/issues/86, will patch this on 2.1. Updated all variables to be mark as protected.