title: Limit the number of lines entered in ExtJS Textarea
body: <p>Check this <a href="http://jsfiddle.net/webfriend13/yZHnm/9/" rel="nofollow noreferrer">fiddle</a>. 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 <a href="https://stackoverflow.com/questions/556767/limiting-number-of-lines-in-textarea">link</a></p>
  
  <p>I am using ExtJs 4.1</p>
  
  <pre><code>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();
  });
  </code></pre>