Overriding the built-in filtering of the TreeList will require overriding the internal methods. What is the scenario you are facing? Having more information will help me better understand the case and allow me to advice further.
i need to have filter the tree for the field eq "X" or field is empty, now if I create such filter descriptors, it works wrong, having a tree I would like to filter out any children if parent eq EX and despite having empty items down, seems to make it, I need to create my custom filter logic, that is why I asked about ability to override existing dataset filter method
Nikolay
Telerik team
commented on 18 Jun 2024, 10:44 AM
Hi Aleksandr,
If you are using local data you can use a function to customize the filter logic:
Hi Aleksandr,
Overriding the built-in filtering of the TreeList will require overriding the internal methods. What is the scenario you are facing? Having more information will help me better understand the case and allow me to advice further.
Regards,
Nikolay
Hi Aleksandr,
If you are using local data you can use a function to customize the filter logic:
https://docs.telerik.com/kendo-ui/api/javascript/data/datasource/configuration/filter#filteroperator
You can also check the following forum thread discussing the same scenario: https://www.telerik.com/forums/how-to-define-a-custom-filter-operator#2623546
Regards,
Nikolay
Nikolay,
thx a lot, seems it can help
Thx Alex
Hello,
Thanks for your reply. Your reply also help me because i am also want to know about this. Once again thanks.
Lowes Life
Best regards,
samuel898
Hi Samuel,
I am happy to hear my suggestion is helping you move forward with the project. This is exactly what forum threads are designed for.
Feel free to ask the community if you have a question or inquiry.
Regards,
Nikolay