I’m using smart-grid by setting a data source. However, when setting the data source to new data, I have some issues.
Please see the following code pen link: https://codepen.io/KP-Traeger12/pen/yLeqjVV
You can see that the table is initially populated with 4 rows. The filter row works correctly.
However, after you click on the button “Update DataSource” (which generates new data consisting of 500 rows), you can notice the following issues:
1) The filter row no longer works – it seems to be disabled.
2) The table still shows only 4 rows even though its page size was set to 20 (and for some reason, the page size selector shows “10”). But as soon as you select a different page size in the selector, the correct number of rows is shown.
OK, thank you. In the meantime, is there another way to ensure the pageSize works correctly?
Currently, I’m trying to set the .pageSize property manually after setting the .dataSource property; however, in that case the pager is not updated and it shows still “10” as size; additionally, when I update the pageSize after updating dataSource, the number of pages in the footer has still the old value, only when you click on one page indicator, they are updated.