ParamQuery grid support forum
General Category => Help for ParamQuery Grid (free version) => Topic started by: ketan on June 08, 2017, 10:37:53 am
-
Hello Everyone ,
I am using PQGrig to display multiple records for that I am using pagination of remote type . means pageModel ={type:'remote'} .
problem is when I am using this type of page model I am getting message at footer - 'page [ 1 ] of NaN' . What is this NaN and how should display proper message . I don't want to show NaN at my Grid footer .
-
Your remote script should return total number of records as totalRecords property in the JSON data.
Sample JSON data with remote pagination:
https://paramquery.com/pro/invoice/paging?pq_datatype=JSON&pq_curpage=3&pq_rpp=20&_=1496902075716