[flexcoders] Cairngorm/ Command/ AdvancedDataGrid.expandChildrenOf() ?

2010-04-18 Thread Nick Middleweek
Hi, I'm working on a cairngorm flex app and have been told to put all business logic inside the CG Command. At the end of the CG Command, I need to get the ADG to expand it's grouping nodes for a particular node. What is the correct way of solving this problem because from my Command, I can't

Re: [flexcoders] Cairngorm/ Command/ AdvancedDataGrid.expandChildrenOf() ?

2010-04-18 Thread Jake Churchill
Download cairgorm extensions. nbsp;It has classes called Callbacks which basically notifies the view after a command has finished. nbsp;It's perfect for this situation. -Jake -- Sent from my Palm Prē On Apr 18, 2010 1:02 PM, Nick Middleweek lt;n...@middleweek.co.ukgt; wrote: nbsp;

Re: [flexcoders] Cairngorm/ Command/ AdvancedDataGrid.expandChildrenOf() ?

2010-04-18 Thread Nick Middleweek
Hi Jake, Thanks for the info... I know this sounds crazy but because of project/ company politics we have extreem difficulty getting 3rd party libraries on the project. Are there any preferred alternative ways? Cheers, Nick On 18 April 2010 19:11, Jake Churchill reyna...@gmail.com wrote:

Re: [flexcoders] Cairngorm/ Command/ AdvancedDataGrid.expandChildrenOf() ?

2010-04-18 Thread Jake Churchill
Wel, just tell them it's an upgraded version of the cairngorm SWC. nbsp;You can just replace the SWC in the project and it'd be all good -Jake -- Sent from my Palm Prē On Apr 18, 2010 1:46 PM, Nick Middleweek lt;n...@middleweek.co.ukgt; wrote: nbsp; Hi

Re: [flexcoders] Cairngorm/ Command/ AdvancedDataGrid.expandChildrenOf() ?

2010-04-18 Thread Nick Middleweek
Hey Jake, Cheers for the response... I've gone with a ChangeWatcher approach. Update the model from the command and I've dropped in the ChangeWatcher in the view, seems to be working but was curious who others would solve this... I'll look into CG Extensions though, cheers for the idea! Nick