Search code examples
kendo-gridtelerik-grid

Kendo Grid (javascript) - Filter Option trim input


When using the column menu, users are complaining that their filters don't work because the grid is not trimming their input (eg. Hit column menu, filter-> Starts With -> user types input -> (NEEDS TRIM) -> Profit)

Is there a simple way without digging around in the guts of the grid to trim that input?


Solution

  • You can handle the Grid filter event, and manipulate the value of the filter as necessary, e.g.:

    http://dojo.telerik.com/opEte