Changing the kendo numeric filter format

后端 未结 8 1619
孤街浪徒
孤街浪徒 2021-02-09 12:16

I am applying custom paging and sorting in the kendo grid. For one of my column I am getting a numeric text box. When I insert the value in numeric text box it is integer, but a

8条回答
  •  隐瞒了意图╮
    2021-02-09 12:56

    You can set like below

    columns.Bound(x => x.Property).Filterable(x => x.UI("NumericFilter"));
    
    
    

    Or use extension method

    columns.NumericColumn(x => x.Property);
    
    public static GridBoundColumnBuilder NumericColumn(this GridColumnFactory Column, Expression> Expression) where TModel : class
    {
        return Column.Bound(Expression).Filterable(x => x.UI("NumericFilter"));
    
    }
    

提交回复
热议问题