How can I make datagrid height is equal to data content in Adobe Flex

LANE picture LANE · Nov 7, 2008 · Viewed 21.9k times · Source

In adobe Flex datagrid height is equally to fix height . I want to make datagrid height is depend data .

Answer

smartdirt picture smartdirt · Dec 27, 2008

You can set each row of the datagrid to fit based on the contents of a particular column of that row by setting the "variableRowHeight" attribute to true on the datagrid and setting the "wordWrap" attribute to true on the dataGridColumn that will contain the variable height content.