ParamQuery grid support forum
General Category => ParamQuery Pro Evaluation Support => Topic started by: joevernon on January 21, 2016, 10:36:49 pm
-
Hi
I was just wondering if it is possible to use the filter methods to apply filters across nested grids as well as the main grid if both grids have a common dataIndx column?
Thanks
Joe
-
They can't be combined, you have to call filter method of the detail grid separately.
-
How do you select the detail grid of a particular row to apply a filter?
For example using a toolbar on each detail grid to filter just that detail grid
-
Every event has context and/or event.target which can be used to get reference to appropriate grid.
Let's say there is a toolbar for a detail grid.
When a filter button is clicked in that toolbar, reference to grid can be obtained by
var $grid = $( event.target ).closest( ".pq-grid" );