Closed namtaesik closed 3 months ago
[Translate] I checked it with a debugger "Grid.prototype.setPerPage = function (perPage, data)" We have confirmed that the "perPage" parameter is transferred to a string in the function above. The page changed normally when I performed "setPerPage()" by explicitly changing it from the local source code to a numeric value of "Number(pagmentationCount).
useEffect(()=>{ // GridReload when the number of data to be shown per page changes refGrid?.current?.getInstance()?.setPerPage(paginationCount,data); },[paginationCount]) If you run this part, the data shown on the page will change, but the number of paging in the paging will not change. For example, if you want to see 10 pieces of 100 pieces of data each If you change to 20 views There are 10 pages, but the number of data that appear on each page is 20 Pages 6 to 10 show an empty grid.