Declined
Last Updated: 14 Jun 2021 13:39 by ADMIN
Imported User
Created on: 29 Jan 2015 13:51
Category: UI for ASP.NET MVC
Type: Feature Request
1
GridFilterUIRole missing type IntTextBox
When having a filter on a number, the only option to chose, is a NumericTextBox, which adds decimals to the number (very annoying).

    public enum GridFilterUIRole
    {
        Default = 0,
        NumericTextBox = 1,
        DatePicker = 2,
        DateTimePicker = 3,
        TimePicker = 4,
    }

The only way to get rid of the decimals, is to ad some scripts that does this:

function NumericFilter(e) {
    $(e.element).kendoNumericTextBox({ "format": "n0", "decimals": 0 });
}

We need a IntTextBox option.
Thank you.
2 comments
ADMIN
Angel Petrov
Posted on: 14 Jun 2021 13:39

Hello,

Making certain configurations built-in is not desirable as one may also want to set certain properties for the pickers as well and thus the enumeration should be extended additionaly with values that represent setups. For such cases it would be best to use the template and modify the filter control as desired.

Regards,
Angel Petrov
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/.

ADMIN
Telerik Admin
Posted on: 30 Jan 2015 08:41
Thanks for the suggestion, I'll pass it to the team.

For now you can apply appropriate integer format in the way you specified, or using c0 formatting for currency, as depicted here:
http://docs.telerik.com/kendo-ui/framework/globalization/numberformatting