views:

447

answers:

1

HI I am new to Flex and was wondering, when we use an advanced data grid, only when we click on the parent element the children details get populated in the corresponding columns, right?..SO now i have made the empty columns invisible(at design) now how do i make them visible at run time when the parent element is expanded..similarly once the columns are visible, how can i make them invisible again when the parent element is closed. Please help me out

Thanks

A: 

I think the event you want to listen for is "itemOpen" then the function you want will be something like:

MyADG.columns[invisible column index].visible=true;

invertedSpear