Hi just a follow up question,

Is there any way I could also hide the group labels? the filter successfully 
hides the items but not the
group labels. If a group, for example has two associated children, when i take 
out the children, the
group label should go as well.

second, had anyone here tried extending advanceddatagrid to create some sort of 
"groupLabelRenderer"? :)
I wanna add a checkbox beside the group label.




________________________________
From: Vijay Anand Mareddy <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, November 4, 2008 10:02:26 PM
Subject: [flexcoders] Re: updating display of GroupingCollection on 
AdvancedDataGrid with refresh


450 rows shouldnt take so long unless u have summaryfunction and labelfunc etc.
First check  the performance by removing the SummaryFunction

Here is an example on filtering:
http://flexpearls. blogspot. com/2008/ 02/groupingcolle ction-to- group-mails- 
on.html

If all else fails you might want to try Async refresh ...GroupingCollecti 
on.refresh( false);
http://flexpearls. blogspot. com/2007/ 10/async- refresh-of- groupingcollecti 
on.html

--- In [EMAIL PROTECTED] ups.com, "poweribo" <[EMAIL PROTECTED] .> wrote:
>
> Hi All,
> 
> I have an AdvancedDataGrid, a GroupingCollection and an 
> ArrayCollection as a source of GroupingCollection. 
> 
> I update the display by setting a filter on arraycollection and 
> calling refresh. But the AdvancedDataGrid doesnt reflect the changes 
> unless I call GroupingCollection. refresh() . Bad.
> 
> My ArrayCollection contains only 450+ items but 
> GroupingCollection. refresh() takes too long time to re-render the 
> list.
> 
> Is there any other way that I can do this faster? and without waiting 
> and repopulating the WHOLE list? for example I just want to hide 1 
> item by adding it on my filter, the list should simply adjust by 
> deleting that row only (just like how a normal List 
> UIComp+ArrayCollect ion behaves). Any ideas?
> 
> -Stephen
> 
> p.s. I have seen the 
> http://flexpearls. blogspot. com/2008/ 06/groupingcolle ction-with- some-
> better.html but it still re-draw the whole thing and doesnt keep the 
> state of the list (expanded/collapsed ).
>

    

Reply via email to