2 Replies Latest reply on Jan 19, 2010 2:55 PM by Flex harUI

    Multi-line text editor in DataGrid?

    smokeranch Level 1



      I need to create an item editor for a Flex 3 DataGrid. The requirement is that the grid must display rows as single row height when not in edit mode. I have created a custom item renderer that will display multiple lines of text as a single line, delimited by commas, which works perfectly. However, I don't know how to create an editor that will overlap the rows beneath it, so I can edit the text in a multiline box. It is ok to hardcode the height of the editor ( figure I may hardcode it to perhaps 3 rows tall). I tried embedding a custom editor as a TextArea and setting its height to 60, but it had no effect. Any help to get me started in the right direction will be greatly appreciated!