Why Filter UI() doesnot trigger javascript function

0 Answers 19 Views
Filter General Discussions Grid
Pol
Top achievements
Rank 1
Iron
Pol asked on 14 Mar 2024, 05:34 PM | edited on 14 Mar 2024, 05:37 PM

I am trying to call a function from the javascript from filter. If I try to filter the column , the function is not being called. There is no any error in console and the value is coming into the grid. But just that trigger is not called when filter the column. Also I wondering  if I remove the function from the script , it will look for the function and will give the error function not found. But if there is function, it will not call the function and alert message is not getting 
We are using the latest version of Kendo Telerik grid. Why the filterable.UI does not work in Asp.net core MVC? How can I find the reason why it is not called?

 

Here is my code



columns.Bound(e => e.City)
                .Filterable(filterable => filterable.UI("cityFilter"))
                .Width(200);

<script type="text/javascript">
    

 function cityFilter(element) {
        alert('testting'
    }
</script>


No answers yet. Maybe you can help?

Tags
Filter General Discussions Grid
Asked by
Pol
Top achievements
Rank 1
Iron
Share this question
or