Author Topic: How to GetData with filtered rows  (Read 2016 times)

rsgmedia

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 50
    • View Profile
How to GetData with filtered rows
« on: November 01, 2018, 01:08:40 pm »
Hi PqGrid Team,

I Have a table which has lets say 10 rows, in each column I have a filter, I apply the filter now I have only 4 rows, But when I extract the data with this method

$('.select_grid').pqGrid('getData');

It is returning all 10 rows. but I want just 4 rows to be returned, how can i achieve this?

thanks

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6298
    • View Profile
Re: How to GetData with filtered rows
« Reply #1 on: November 01, 2018, 04:12:41 pm »
Please use option dataModel.data to get filtered rows.