url : https://dojo.telerik.com/@kjvjung/afUwuZah
Freight must be number
so good : Freight: { type: "number" }
but, I just want the Freight in tr.k-filter-row to be autocomplete, not numerictextbox.
How???
thank you.
3 Answers, 1 is accepted
Hello,
Such an issue is discussed in the StackOverflow thread linked below. In the link, there is an example of DropDownList used as a custom editor for a filter row column. The same approach could be applied for AutoComplete:
- https://stackoverflow.com/questions/25218008/kendo-grid-customize-filter-row
Also, the Filter Menu Customization demo could be helpful:
- https://demos.telerik.com/kendo-ui/grid/filter-menu-customization
I hope this helps.
Regards,
Neli
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
I just want the text filter to appear even for numeric data.
Is there a way?
Hi,
By default when a field is of a type "number" the NumericTextBox will be used for editing and for the filter row menu. Another option to customize the input for the filter value is to use the columns.filterable.cell.template option:
I hope this helps.
Regards,
Neli
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
thank you!
Thank you. But I'm still not satisfied with it.Like the picture below
>23 and <50
As you type, it disappears when number fields.
Hello,
Number fields support only valid numbers, any other character(such as < and >) will be ignored as it will lead to an error. The input can accept only 012345679 and a decimal point ".".
Dojo example:
https://dojo.telerik.com/@gdenchev/ArONImUL
You can test the example on the OrderID and Freight columns as they are both of type "number".
Best Regards,
Georgi