Friday 12 Mar 2010   
Add Comment

Click anywhere to expand Flex Advanced data grid

Flex / ColdFusion Tutorial #16

The out of the box AdvancedDataGrid forces the user to click on the little triangle to expand and contract the tree. The following script allows for the user to click anywhere in the row to expand/contract.

expandAdvancedDataGrid.mxml

I found the little triangle a little annoying and I have even gotten questions for users on how to open the tree. Hope this example helps.

 
 


Demo

See this code running!


Download

Download this code as a zip!


Comments

I like it. Makes it much more user friendly to be able to click anywhere in the row as opposed to having to click the little triangle.
Mike Harman @ Saturday 14 Mar 2009 - 09:49:07 AM

This is great!
One question how can I get the data for a db using remoting for this?
Thanks,
John
John Barrett @ Sunday 31 May 2009 - 01:24:15 PM

Click button to add a comment


Author

John Gag


Published

Friday 13 Mar 2009

Tags

mx:AdvancedDataGrid  mx:AdvancedDataGridColumn  mx:Application  mx:columns  mx:dataProvider  mx:grouping  mx:GroupingCollection  mx:GroupingField  mx:Script 

Rosetta Stone