We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Problem adding maxLength property to textbox Cell

Hello, i am having problems adding the maxLength property for a specific column in the grid.
The code i have is:
@(Html.Syncfusion().Grid((string)ViewBag.releaseRightsAcquiredGridId).Column(column =>
{column.Add(p => p.TerritorialRights).Width(120).HeaderText("TerritorialRights").CellEditType(CellEditType.StringEdit).CssClass("hyperTextBlack tdTerritoryRightsLnr tooltipster");
}
How can i set the maxLength property for all the cells in that column?
By default, in chrome and firefox maxLength is set to -1, but in Internet Explorer, maxLength is set to 255, and that generate some troubles with the Jquery Validator.
Thanks,
Regards.

Loader.
Live Chat Icon For mobile
Up arrow icon