Author Topic: Get Total Size of Grid without taking into Account Filters  (Read 1961 times)

tcf

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 13
    • View Profile
Get Total Size of Grid without taking into Account Filters
« 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
 

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: Get Total Size of Grid without taking into Account Filters
« Reply #1 on: August 03, 2016, 06:27:22 pm »
Filtered out rows are stored in dataModel.dataUF

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