File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Flex and the fly likes issue with expandchildren of in  advanced data grid Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "issue with expandchildren of in  advanced data grid" Watch "issue with expandchildren of in  advanced data grid" New topic
Author

issue with expandchildren of in advanced data grid

Ashwin Raghavan
Ranch Hand

Joined: Dec 26, 2012
Posts: 30
Hi

I am having a weird issue with in my app.

I am using xml inside an advanceddatagrid. the data in the xml changes dynamically and is reflected on the ADG at real time.
Now i do this to expand all the children int eh data grid

myAdvancedDG.validateNow();
myAdvancedDG.expandchildrenof(mydataprovider, true);

now the problem is when ever the data changes a duplicate row is created on one of the rows in te bottom of my screen. if i remove validatenow() duplicate rows is not created but it does not expand the xml.

any ideas how to expand the xml without using validatenow().

any solution is welcomed.
 
Don't get me started about those stupid light bulbs.
 
subject: issue with expandchildren of in advanced data grid