| || |
How to expand/collapse a row in AdvancedDataGrid
We have these expandable/collapsible tree rows in our tables. I have been trying to get the row to open without any success. I am assuming the:
is intended for this, but I couldn't figure out what to use for the "itemRenderer". Seems like no matter what I use, I get a:
"Error during executing the Flex event 'Open::FlexAdvancedDataGrid' Error #1069."
Has anybody successfully used this method? How does one construct the "itemRenderer" for this method?
Re: How to expand/collapse a row in AdvancedDataGrid
The itemRenderer is just a string of the items of the row you wish to select, similar to the Select method for a DataGrid.
It would look something like...
FlexGrid.Open (“*Item1* | Item2 | Item3”)
If, in your data grid, you have an object, such as a link or a image that triggers opening a row, then you could have the script click on the desired object to open the row.