I have a EditorGridPanel that grid cell want to validation to prevent from entering more characters into cell fields than the max length limit of cell. when user try to enter more than max limit that remove extra characters(it's like Twitter's input box) how can i do in extjs?
1 Answers
0
votes
In your column configuration you can define editor for column. There you can set Ext.form.TextField as column editor. In textfield configuration you can define max length limit by maxLength config property.
Column configuration:
{
...
editor: new Ext.form.TextField({
maxLength: 25
}),
...
}