In kendo react grid column level filter, I don't want to have all option instead i just want contains option for string column and equal option for numeric columns.
That should be default i don't that to be selected from drop down.
Please let me know how to achieve that.
4 Answers, 1 is accepted
0
Hello Mukesh,
You can use the filterOptions property of the grid to specify the filter operators. Please see this help article for more details and runnable example:
https://www.telerik.com/kendo-react-ui/components/grid/filtering/#toc-custom-filter-operators
Regards,
Vasil
Progress Telerik
You can use the filterOptions property of the grid to specify the filter operators. Please see this help article for more details and runnable example:
https://www.telerik.com/kendo-react-ui/components/grid/filtering/#toc-custom-filter-operators
Regards,
Vasil
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0
Mukesh
Top achievements
Rank 1
answered on 02 Aug 2019, 02:16 PM
I have used filterOperators but my requirement is bit different.
I even don't want filter icon and clear icon which comes by default. Is there any property to hide those icons
I have attached a scree shot for your reference.
In the given screen shot i don't want those to filter icon. Is there any way to remove them
0
Arun
Top achievements
Rank 1
answered on 06 Aug 2019, 02:34 AM
You can remove the dropdown by CSS.
.k-filtercell-operator {
display: none
}
.k-filtercell-operator {
display: none
}
0
Hello, Mukesh,
The answer provided by Arun is a valid one to remove it with CSS.
Please let me know if this is not an option and we will check for other solutions.
Regards,
Stefan
Progress Telerik
The answer provided by Arun is a valid one to remove it with CSS.
Please let me know if this is not an option and we will check for other solutions.
Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items