title: Titanium Appcelerator Dynamic TextArea height increase
body: <p>I am using Titanium and trying to embed a textarea within a tableview row. The textarea requires dynamic increase of height as user types within, as well as the tableview row. I know that it should require some calculations, however I have no idea of the algorithm. Could somebody kindly provide some pointers? </p>
  
  <p>Many Thanks.</p>
  
  <p>Code so far:</p>
  
  <pre><code>var win = Ti.UI.createWindow({
      title: 'My Message'
  });
  
  var tableview = Ti.UI.createTableView({
      height: 'auto',
      layout: 'vertical',
      style:Titanium.UI.iPhone.TableViewStyle.GROUPED,
      headerTitle:'Message',
  });
  
  var tf = Ti.UI.createTextField({
      width: 200,
      top: 10,
      borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED
  });
  
  var rowTo = Ti.UI.createTableViewRow({
      height: 'auto'
  });
  
  
  var ta = Ti.UI.createTextArea({
      height: 'auto',
      font: [{fontSize: 11}],
      top: 0,
      bottom: 20,
      width: 250,
      height: 50,
      backgroundColor: 'green'
  });
  var rowMsg = Ti.UI.createTableViewRow({
      height: 'auto'
  });
  
  rowTo.add(tf);
  rowMsg.add(ta);
  
  tableview.appendRow(rowTo);
  tableview.appendRow(rowMsg);
  
  win.add(tableview);
  win.open();
  </code></pre>