ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: xman on March 23, 2015, 07:53:28 pm

Title: Get set of visible rows after filter
Post by: xman 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?
Title: Re: Get set of visible rows after filter
Post by: paramvir 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