Let's talk about Flex, AIR, ActionScript, ColdFusion and more    

Simple sample : ComboBox for DataGrid ItemEditor

This is a simple sample of using ComboBox as DataGrid ItemEditor.

ComboBoxEditor

Source of ComboBoxEditor

Comments
Mark Fuqua's Gravatar Very cool. I'm guessing populating the control from a query would be pretty easy?
# Posted By Mark Fuqua | 8/23/07 6:17 AM
Shigeru's Gravatar Well... What do you mean "populating the control from a query" exactly?

Setting ItemRenderer dynamically?
If so, What about this?
http://shigeru-nakagaki.com/flex_samples/DataGrid/...
# Posted By Shigeru | 8/23/07 1:13 PM
edzis's Gravatar I am starting to get into flex and this example helped me a lot in understanding ways how to customize datagrid.

But for the aplication I am making I need a combobox in several columns having different loaded data for dataProviders. Therefore i need the itemEditor to be more abstract.

So, my question is how could I replace the hard coded country array in the CountryEditor with dynamic data?
# Posted By edzis | 10/26/07 3:47 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.5.005.