DevExpress / devextreme-reactive

Business React components for Bootstrap and Material-UI
https://devexpress.github.io/devextreme-reactive/
Other
2.07k stars 377 forks source link

rows Update Displays All Rows and ignores Page Sizing (CustomPaging inconsistent With Page Sizing) #3569

Closed ogheneovo12 closed 1 year ago

ogheneovo12 commented 1 year ago

Is there an existing issue for this?

I'm using ...

React Grid

Current Behaviour

whenever i update the rows state, the grid displays all rows, while maintaining it's pageSize, i.e, i have a page size of 10 , initial row length was 10, updating row length 700, the tables shows all 700 rows, but still maintains a page size of 10.

Expected Behaviour

rows should get updated, and only 10 row items should be displayed, while maintaining the page size of 10.

Steps to Reproduce

https://codesandbox.io/s/devextreme-react-grid-for-bootstrap-4-forked-yen7z7?file=/index.js

Environment

Krijovnick commented 1 year ago

Hi, The CustomPaging plugin is only used for remote paging, i.e in the page displays all rows requested from the server. Please refer to the documentation for more information. For your case, the IntegratedPaging plugin is more suitable.