Author Topic: Can filters be share across 2 grids  (Read 2029 times)

mercury85

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 58
  • ASP.NET, VB.NET, MVC, JS, C#, VBA, SQL, MDX, DAX
    • View Profile
Can filters be share across 2 grids
« on: May 16, 2018, 01:46:47 pm »
Can external children grids be linked on filters so the master grid controlled the context on the child. 

$( ".selector" ).pqGrid( { filterModel: { header: true } } );

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6307
    • View Profile
Re: Can filters be share across 2 grids
« Reply #1 on: May 16, 2018, 02:49:58 pm »
Not sure what you mean by sharing filters across 2 grids.

Though master grid can call filter method on children grids as long it has reference to the child grid.

And child grid can call filter method on master grid as long as it has reference to master grid.

mercury85

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 58
  • ASP.NET, VB.NET, MVC, JS, C#, VBA, SQL, MDX, DAX
    • View Profile
Re: Can filters be share across 2 grids
« Reply #2 on: May 16, 2018, 03:30:55 pm »
Ah ok, I was wondering if there was some method that may invoke the filter to be pushed down.  I was thinking if it was possible to extend a data model or column model to a child that maybe it could be with the filters also.  Thanks!