You can change the default filter operator type “startswith” of the filter menu to other operators like contains, lessthan and etc. in dataBound event of the Grid. The following code example shows the way to change the default operator type to “contains” in the filter menu.
1. Render the Grid control.
2. In the dataBound event of the Grid, bound the mousedown jQuery event to menu filter icon. In the beforeOpen event of ejDialog you have to set “selectedIndex” property of “ejDropDownList” as “2” to get the Default filter value as “Contains”.
Thus you can change the default filter operator type of the filter menu to other operators like contains, lessthan and etc.
Note :- You can also bind RemoteData to the grid and you can change the default filter operator of the filtermenu to other operators by following these above mentioned steps.
The following output is displayed as a result of the above code example.
Figure: Filtering with filter operator Type “contains”.
This page will automatically be redirected to the sign-in page in 10 seconds.