Page 1 of 1

Subfile Grid "Filter"

Posted: Tue Mar 08, 2011 9:24 pm
by leatherlips
Is there a way, once the subfile is loaded and displayed, to apply a filter (to only show a subset of data) from the client side? (not having to return to the iseries to reload the subfile)?
Thank You

Re: Subfile Grid "Filter"

Posted: Mon Mar 14, 2011 7:25 pm
by Alex
Unfortunately, the subfile grid does not provide for filtering on the client side.

Re: Subfile Grid "Filter"

Posted: Thu Mar 24, 2011 2:56 pm
by leatherlips
Ok. Does that apply to both a subfile loaded from the program and a database bound grid (where a db file is specified on the grid instead of controlling with the program)?
In other words, if I use a database bound to the grid, is there a way from the client side to apply "selection criteria" or "Custom SQL" using java script (say once a button was clicked) and have the grid refill?

Re: Subfile Grid "Filter"

Posted: Thu Mar 24, 2011 5:33 pm
by Greg
The "selection criteria" property would have to be bound to an RPG variable, and you could then refresh the screen and apply a new selection criteria using RPG code.