Unplanned
Last Updated: 02 Oct 2023 07:14 by ADMIN
Ankit
Created on: 29 Sep 2023 17:23
Category: Data Grid
Type: Feature Request
0
make the `filter="text"` always convert the all the values to string values

I have one column that contains mix of boolean and string values. When I attempt to apply a filter function to that column, it generates an error for the boolean value true because indexOf cannot be performed on a boolean. When I have other formats along with strings and I use filter="text", I would like the value to be converted to string in the filter function rather than modifying the data on my end before calling the filter function, because that would actually be incorrect data.

Example

https://www.telerik.com/kendo-react-ui/components/grid/filtering/

If I change

<Column field="Discontinued" width="190px" filter="boolean" /> 

to

<Column field="Discontinued" width="190px" />

and then search for anything in that filter it throws error.

 

 

Maybe if you make the `filter="text"` always convert the all the values to string values that would help resolve the error

1 comment
ADMIN
Wissam
Posted on: 02 Oct 2023 07:14

Hello, Ankit,

Thank you for submitting this feature request. We will be monitoring it closely.

Regards,
Wissam
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!