When setting a default criteria for a ListGrid FilterEditor using filterData the criteria does not show up in the FilterEditor shown on the screen. Looking at the documentation for setShowFilterEditor I expected this to be displayed.
This is something that is needed to show the user that a default criteria has been applied.
Is there a way to make this appear?
Here is some example code run in the ListGrid constructor:
this.setShowFilterEditor(true);
Criteria defaultCriteria = new Criterion("COLUMN1", Operator.Equals, 123);
this.filterData(defaultCriteria);
Here the filtering is applied, but I would expect 123 to appear in the filter for "COLUMN1" which it is not.
Thank you in advance for any help on this.
This is something that is needed to show the user that a default criteria has been applied.
Is there a way to make this appear?
Here is some example code run in the ListGrid constructor:
this.setShowFilterEditor(true);
Criteria defaultCriteria = new Criterion("COLUMN1", Operator.Equals, 123);
this.filterData(defaultCriteria);
Here the filtering is applied, but I would expect 123 to appear in the filter for "COLUMN1" which it is not.
Thank you in advance for any help on this.
Comment