Filemanagers inbuilt search text box: How to change filtering method to "contains"?

1 Answer 15 Views
Patrick
Top achievements
Rank 1
Iron
Patrick asked on 02 Jun 2021, 10:45 AM

The FileManager has a toolbar with an inbuilt search text box. How can I change the filtering method from the default (seems to be "startswith") to "contains".

Thanks for any advice!

Patrick

1 Answer, 1 is accepted

Sort by
1
Accepted
Neli
Telerik team
answered on 07 Jun 2021, 06:38 AM

Hello,

A possible approach is to define the search tool through the toolbar.items configuration, and change the operator in the toolbar.items.options to "contains":

Here is a Dojo example where this is demonstrated.

I hope you will find the provided example helpful.

Regards,
Neli
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Asked by
Patrick
Top achievements
Rank 1
Iron
Answers by
Neli
Telerik team
Share this question
or