Jagdish , Instead of "refresh" use this line
BindingUtils.bindProperty(home_dg,"dataProvider",this,"gc");On Fri, Jan 15, 2010 at 9:35 AM, Jagdish <[email protected]> wrote: > Hi Shilpa, > > Thanks for your reply but i tried refreshing after the result is > binded to the arraycollection.But the data is not getting populated in > the ADdatagrid at all. > > I am using Nested AdvanceddataGrid becoz we have nested data. But > my concern is why am i getting ADG populated when am not using > grouping and why is it empty when i use Grouping collection. > > Cheers, > Jagdish > > > On Jan 13, 2:23 pm, OnlyMe <[email protected]> wrote: > > Hi Jagdish, > > > > gc.refresh should be called right after you give some value to the > > arraycollection. This refreshes the groupingcollection and passes this > > to the AdvancedDataGrid. > > > > On Jan 13, 4:07 pm, Jagdish <[email protected]> wrote: > > > > > Hi, > > > > > I am using ADGrid and grouping is not working for me .We are using > > > Cairngorm Framework . > > > > > I am getting the array collection and giving it as dataprovider to > > > Grouping collection as follows. > > > > > <mx:GroupingCollection id="gc" source="{model.arrColl}" > > > > <mx:grouping> > > > <mx:Grouping> > > > <mx:GroupingField name="empName" /> > > > </mx:Grouping> > > > </mx:grouping> > > > </mx:GroupingCollection> > > > > > giving this grouping collection as Dataprovider to ADG > > > <mx:AdvancedDataGrid id="home_dg" minWidth="300" editable="true" > > > draggableColumns="false" height="100%" > > > variableRowHeight="true" > > > dataProvider="{gc}"> > > > > > The main issue is when to call the gc.refresh(); because i can't call > > > it on initialization as the arraycollection is null initially and we > > > are collection the service after filling some fields in the service > > > which fills this ARRAYCOLL . > > > > > Can some one help me with this issue. > > > > > Thanks & cheers, > > > jagdish > > -- > 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]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > > > >--
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.

