4 Replies Latest reply on Oct 22, 2010 6:27 AM by previus_901

    any way to resize a DataGrid row's height WHILE it's content is being changed?

    saariko Level 1

      hey all


      i am using a spark TextArea as an item editor inside the mx DataGrid (using the s:MXDataGridItemRenderer class) since i need the right-to-left direction of the TextArea.


      is there a way to program the DataGrid's rows to resize dynamically WHILE the editor's height changes when typing in?


      currently the row's height changes to fit only at the end of the edit - when the user steps out (focuses out) of the editor.


      obviously i have variableRowHeight set to true, and the editor's height changes while typing in by setting it's heightInLines property to NaN (which causes the TextArea height to change to fit the text in it).


      any ideas?