Check this fiddle. How can we limit numbers of lines that is allowed to enter in ExtJS TextArea. Does ExtJs provides something out of the box or I have to reply on some cusotm function as shown in this link
I am using ExtJs 4.1
Ext.onReady(function () {
Ext.create('Ext.window.Window', {
height: 60,
layout: 'anchor',
minHeight: 60,
width: 200,
items: [{
grow: true,
anchor: '100%',
flex: 1,
xtype: 'textareafield'
}]
}).show();
});