Actually I would like to expand node on application load completly based on some criteria.
On Feb 10, 11:58 pm, vrathore <[email protected]> wrote: > Hello, > > Here is the code sniplet which would expand the current selected item > of the advanced datagrid > > <mx:AdvancedDataGrid id="adDataGrid" updateComplete="openGridItem > ()" itemOpen="getSubNodesUnderNode(event)" width="100%" > height="100%" > > <mx:dataProvider> > <mx:HierarchicalData source="{programGridTree}" > childrenField="childObjects"/> > </mx:dataProvider> > <mx:columns> > <mx:AdvancedDataGridColumn dataField="title" > headerText="Title" width="400" /> > </mx:columns> > </mx:AdvancedDataGrid> > > public function openGridItem():void > { > > adDataGrid.expandItem(adDataGrid.selectedItem,true); > } > > Cheers > > Varun Rathore --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

