This is a migrated thread and some comments may be shown as answers.

Kendo Grid Column Filter dropdown results not behaving as expected

2 Answers 266 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bo Chulindra
Top achievements
Rank 1
Bo Chulindra asked on 02 Mar 2017, 07:55 PM

In the demo at http://demos.telerik.com/aspnet-mvc/grid/filter-row, you can see that the Ship Name column filter defaults to Contains. However, if you type in the search box, a dropdown of results shows but it is using the filter Starts With. If I hit Enter, the column will be filtered by Contains. However, the dropdown is confusing and wrong.

 

Is there a way to get the dropdown to use the specified filter rather than always being Starts With? If not, what's the best way to stop the dropdown from showing since it's confusing and wrong.

I attached 2 screenshots showing what I mean.

 

2 Answers, 1 is accepted

Sort by
0
Bo Chulindra
Top achievements
Rank 1
answered on 02 Mar 2017, 08:06 PM

Nevermind, I figured it out. It's controlled by the columns.filterable.cell.suggestionOperator option.

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-columns.filterable.cell.suggestionOperator

0
Dimiter Topalov
Telerik team
answered on 06 Mar 2017, 08:53 AM
Hi Bo,

Good job. Here is a clickable link for convenience of others that might need the same resource:

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-columns.filterable.cell.suggestionOperator

Do not hesitate to contact us again, if you have other Kendo UI - related questions and/or issues.

Regards,
Dimiter Topalov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Bo Chulindra
Top achievements
Rank 1
Answers by
Bo Chulindra
Top achievements
Rank 1
Dimiter Topalov
Telerik team
Share this question
or