Author Topic: Get set of visible rows after filter  (Read 3093 times)

xman

  • Newbie
  • *
  • Posts: 2
    • View Profile
Get set of visible rows after filter
« on: March 23, 2015, 07:53:28 pm »
After I filter the grid how do I get the set of filtered rows that are visible.  I want to update a chart with the set of visible rows in the grid.

Likewise, when they clear the filter how would I get the set of visible rows?

Do you have examples and do you recommend how to bind your grid to a chart, that is, what chart product should I use?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6122
    • View Profile
Re: Get set of visible rows after filter
« Reply #1 on: March 25, 2015, 12:27:18 am »
filtered rows can be directly obtained from dataModel.data

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

You can use Raphael or any other good chart library. http://g.raphaeljs.com/

Example of pqGrid integration with Charts: http://paramquery.com/pro/demos/charts_inline
« Last Edit: March 25, 2015, 07:50:13 pm by paramquery »