ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: Punit on January 31, 2023, 05:47:21 pm
-
Hello Team,
I am using server-side pagination in the PQ grid with reactjs. when i click next button (pagination) getting error
Uncaught TypeError: Cannot read properties of undefined (reading 'bind')
refer this link : https://paramquery.com/pro/api#method-refreshCM
please let as know how to solve issue in reactjs
-
I don't see how refreshCM is related to remote paging in your case.
Can you share a small test case on stackblitz so that I can look into it.
PS: Just a guess, try to pass reactive: false to the grid options to see if it makes any difference.
-
Hello,
Thanks for reply,
I try to pass reactive: false to the grid options and try other options but server-side pagination not working in reactjs
Please provide any stackblitz link to reactjs with pqgrid server-side pagination example
-
Please check this React example for remote paging: https://stackblitz.com/edit/paramquery-react-remote-paging?file=index.js,index.html
And refer to this example https://paramquery.com/pro/demos/paging for remote script.