flex DataGrid row auto fit content

Posted by orangestar on Stack Overflow See other posts from Stack Overflow or by orangestar
Published on 2010-04-20T09:28:34Z Indexed on 2010/04/20 9:33 UTC
Read the original article Hit count: 1107

Filed under:

Hi, all! I try to create a DataGrid in flex which can fit its content. The itemEdit is a TextArea that can auto change its height while inputing. I set variableRowHeight="true" and wordWrap="true". Although The TextArea will auto resize but the height of row is not changed. Could anyone tell me how to change row height of DataGrid while inputing? One way I found is auto commit its text to DataGrid so the DataGrid will know the data changes but which function can commit its data? Thank you!

© Stack Overflow or respective owner

Related posts about flex