ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: tcf on August 03, 2016, 06:17:57 pm

Title: Get Total Size of Grid without taking into Account Filters
Post by: tcf on August 03, 2016, 06:17:57 pm
We need to get the total size of the grid without taking into account any filters set.

At the moment we are doing this:

$( "#grid" ).pqGrid('option', 'dataModel.data' ).length);

but we have just realised that this only returns the total size of grid taking into account filters....

Is it possible to get total size of grid ignoring any filters?

Thanks
 
Title: Re: Get Total Size of Grid without taking into Account Filters
Post by: paramvir on August 03, 2016, 06:27:22 pm
Filtered out rows are stored in dataModel.dataUF

Totalrows = dataModel.data.length + dataModel.dataUF.length