Posted 29 October 2019, 9:48 am EST
I am using wijmo version 5.20171.282 and angular version 4.1
I am trying to implement a basic filter for wj-flex-grid.
I ahve gone through several of forum questions and other example and found many.
One specific one is given below:
Taken from below topic
https://www.grapecity.com/forums/wijmo/changing-default-filter-no
init(grid:wjcGrid.FlexGrid,filter:wjcGridFilter.FlexGridFilter){
filter.defaultFilterType=wjcGridFilter.FilterType.Condition;
var colfil=filter.getColumnFilter(‘country’).conditionFilter;
var Operator=wjcGridFilter.Operator;
wjcCore.culture.FlexGridFilter.stringOperators=[
{ name: ‘Contains’, op: Operator.CT },
{ name: ‘Equals’, op: Operator.EQ },
{ name: ‘Begins with’, op: Operator.BW },
{ name: ‘Ends with’, op: Operator.EW },
];
//similarly you can also set numberOperators,dateOperators, booleanOperators
}
my issue is with my version of wijmo the wjcGridFilter does no loner support FilterType.
All I see is it offers wjcGridFilterModule, wjcGridFilter, and wjcGridFilterMeta
In that case how do I use above example to implement a simple filter.
I need the filter to apply to single column.
thanks,
Prad