[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 power...@... wrote:

 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 v...@...
 To: flexcoders@yahoogroups.com
 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 flexcod...@yahoogro ups.com, poweribo poweribo@ . 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 ).
 





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

2008-11-04 Thread Vijay Anand Mareddy
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/groupingcollection-to-group-mails-on.html

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


--- In flexcoders@yahoogroups.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+ArrayCollection behaves). Any ideas?
 
 -Stephen
 
 p.s. I have seen the 
 http://flexpearls.blogspot.com/2008/06/groupingcollection-with-some-
 better.html but it still re-draw the whole thing and doesnt keep the 
 state of the list (expanded/collapsed).




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

2008-11-04 Thread ibo
Thanks Vijay! I've read the source and I think the filtering stuff is exactly 
the one I'm looking for! :).





From: Vijay Anand Mareddy [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
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 ).