5.1-p20161009
Hi, I might be old, but I couldn't find an answer to this.
Basically, I want to be able to define a criteria for filtering, say "name equals banana", but send another criteria to be used server-side, for example "date before 2016". I can't get this to work. Code:
If I only apply the "gridFilter", the grid is updated and filtered, but as soon as I do fetch data, my grid criteria seems to be removed.
Any pointers? Can this be done?
Cheers
Hi, I might be old, but I couldn't find an answer to this.
Basically, I want to be able to define a criteria for filtering, say "name equals banana", but send another criteria to be used server-side, for example "date before 2016". I can't get this to work. Code:
Code:
Criterion gridFilter = new Criterion("name", OperatorId.EQUALS, "Banana"); grid.setCriteria(gridFilter); Criterion serverFilter = new Criterion("enabled", OperatorId.EQUALS, true); grid.fetchData(serverFilter, null, getDSRequestReqProps());
Any pointers? Can this be done?
Cheers
Comment