Hi all , Actually i my requirment to show only grouped part in data
grid and its total ,not the detail data part.So,i have written a event
for itemOpening(ITEM_OPENING) of AdvancedDatagrid.
I am changing the DisclosureIcon of the perticular row while its
opening.But i am not able to set this property.although its writable
as mensioned in LiveDocs.
Please help me.

protected function openBranch(e:AdvancedDataGridEvent):void{
if(e.type==AdvancedDataGridEvent.ITEM_OPENING)
{

          if(((e.itemRenderer as IDropInListItemRenderer).listData as
AdvancedDataGridListData).depth==2)
          {

                [Embed(source="com/invera/Truck.gif")]
                var img1:Class;
                e.opening=false;
                DynaGrid.setStyle("disclosureClosedIcon",null);
                ((e.itemRenderer as IDropInListItemRenderer).listData as
AdvancedDataGridListData).disclosureIcon=img1;//Also may ne null
          }



}

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to