This is a migrated thread and some comments may be shown as answers.

Filter columns with type="number"

2 Answers 343 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 10 Feb 2017, 03:22 PM

We want to filter all grid columns by a single input-field. When we define the type of one column as number, the filter doesn't work.  

http://dojo.telerik.com/@brandung/uTaGE/5

2 Answers, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 14 Feb 2017, 08:10 AM
Hello Michael,

Trying to perform string operations on a number leads to a JavaScript error. A possible solution is to check the type of the respective field before deciding what kind of filter should be applied to it, e.g.:

http://dojo.telerik.com/ugEJU

I hope this helps, but please mind that this custom filtering scenario is not officially supported, and any further adjustments are a subject of custom implementation.

Regards,
Dimiter Topalov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Rahul
Top achievements
Rank 1
Iron
answered on 19 Apr 2022, 04:52 AM
Can anybody tell me How can we implement the "Between" filter in the Kendo Custom filter for input type Date/number in the Kendo Grid.
Georgi Denchev
Telerik team
commented on 20 Apr 2022, 01:50 PM

Hello, Rahul,

You can check the following Knowledge Base article which showcases the basic idea of how to implement a Between filter in the Kendo Grid:

https://docs.telerik.com/kendo-ui/knowledge-base/use-two-inputs-range-date-filtering 

Best Regards,

Georgi

Tags
Grid
Asked by
Michael
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Rahul
Top achievements
Rank 1
Iron
Share this question
or