Unplanned
Last Updated: 12 Dec 2024 10:51 by Development
Development
Created on: 12 Dec 2024 10:51
Category: Grid
Type: Feature Request
2
Implement MaxLength() Option for the Column Filter Row

Is it possible to implement a MaxLength() option in the Filterable(f => f.Cell()) configuration that will set the maxlength attribute to the Filter row element in order to limit the length of the string that the user can enter into the Filter row input?

For example:

@(Html.Kendo().Grid(Model)
                   .Name("grid")
                   .Columns(columns =>
                   {
                       columns.Bound(x => x.Name).Filterable(ftb => ftb.Cell(c => c.MaxLength(5)));
                   })
                   ...
)

0 comments