[flexcoders] Re: sorting data on non-grouped field in an advanceddatagrid

2009-10-21 Thread vam6981
The first step for Grouping is to sort on that specific column. and then put the flat data rows into each bucket. Now to achieve your objective of sorting on a non-grouped column First call GC.refresh() --> sorts on grouped column Now u need to set the Gc.dataprovider.sort = new Sort("non-grouped

[flexcoders] Re: Display ADG Data Asynch (was: Advanced Datagrid performance)

2009-10-21 Thread vam6981
Checkout my version of GroupingCollection http://flexingflashing.blogspot.com/ --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > If you have a look at the documentation for GroupingCollection > (http://livedocs.adobe.com/flex/3/langref/mx/collections/GroupingCollection.html) > you see tha

[flexcoders] Re: What the heck am I doing wrong with my GroupingCollection?

2009-10-21 Thread vam6981
See if this example resolved your problem http://vam1021.webs.com/ADGPanel/ --- In flexcoders@yahoogroups.com, "golnooshp" wrote: > > Hi Mark, > Can you sort on groups at all? Because I know this is a bug in flex that you > actually cannot sort on grouped data! the groups can only be sorted if

[flexcoders] Re: What the heck am I doing wrong with my GroupingCollection?

2009-10-21 Thread vam6981
See if this example resolved your problem http://vam1021.webs.com/ADGPanel/ --- In flexcoders@yahoogroups.com, "golnooshp" wrote: > > Hi Mark, > Can you sort on groups at all? Because I know this is a bug in flex that you > actually cannot sort on grouped data! the groups can only be sorted if

[flexcoders] Re: How to add custom sorting to AdvancedDataGrid to worked on grouped Data?

2009-10-21 Thread vam6981
sorting works on grouped data also. checkout the example here http://vam1021.webs.com/ADGPanel/ --- In flexcoders@yahoogroups.com, "golnooshp" wrote: > > Hi, > I have an advancedDataGrid that I need to add custom sorting to it which > overrides the original sort! my sorting should work using a

[flexcoders] Re: Accessing DataProvider from GroupingCollection

2009-10-21 Thread vam6981
Another way is to use recursion var selectedLeafObj:Object = selectedRow; while(selectedLeafObj && selectedLeafObj.children){ selectedLeafObj = selectedLeafObj.children[0]; }//while --- In flexcoders@yahoogroups.com, "fumeng5" wrote: > > I can do it this way but it seems totally wonky to

[flexcoders] Re: Help with AdvancedDataGrid - Urgent

2009-10-21 Thread vam6981
Santosh, Check out the example here http://flexingflashing.blogspot.com/ --- In flexcoders@yahoogroups.com, Adrian Williams wrote: > > Hi Santosh, > > Check out GroupingCollection. > > Adrian > > Santosh Varghese wrote: > > > > Hi, > > > >I am new to Flex development. I wanted to

[flexcoders] Re: filtering advanced datagrid

2009-10-21 Thread vam6981
There is an example here with ADG filtering http://flexingflashing.blogspot.com/ --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > This article should help: > > http://jonathanbranam.net/solutions/filter-hierarchicalcollectionview-parent-child-data > > and possibly this one: > > http://j

[flexcoders] Re: updating display of GroupingCollection on AdvancedDataGrid with refresh

2009-10-21 Thread vam6981
You can extend the AdvancedDataGridGroupItemRenderer and add checkbox in the createChildren() http://vam1021.webs.com/ADGPanel/srcview/source/commongrid/ADGGroupItemRenderer.as.html Check out my blog http://flexingflashing.blogspot.com/ --- In flexcoders@yahoogroups.com, ibo wrote: > > Hi jus