Dhtmlx equivalent of the attribute MaxLength

In html , To limit the number of characters a user can type into input fields, we use the attribute maxlength.

<input type=“text” name=“fullname” maxlength=“5” />
So, the user cannot enter more than 5 charcters in the input text area.

What is the dhtmlx equivalent of the html attribute maxlength, so that the user cannot enter more than 5 characters in the input editable cell inside the dhtmlxgrid.

I dont want to limit the field Length using Dhtmlx Live Validation due to some issues.
Please Help

Unfortunately there is no other solution.
You can use onEditCell event, which occurs after edit end , and trim data from it, but without visual marking of validation it will not be clear, that value will be trimmed after edit end.