Title: Dynamic controls

I’m not sure what your question is.  This kind of data looks like it’d work well inside a DataGrid.  So you can just create the grid and set this as your dataProvider, no?

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha
Sent: Wednesday, August 03, 2005 9:38 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Dynamic controls

 

Hi,

I need suggestions to implement generating dynamic controls. Here's the scenario.

From CF, I get the following.

Array[0]["Struct Element"][0]["name"] = "abc"

Array[0][" Struct Element"][0]["value"] = "def"

Array[0][" Struct Element"][0]["label"] = "ghi"

Array[0][" Struct Element"][0]["Parent"] = "Struct Element"

Array[0][" Struct Element"][0]["controlType"] = "Slider"

Array[0][" Struct Element"][0]["minValue"] = "2"

Array[0][" Struct Element"][0]["maxValue"] = "18"

Array[0][" Struct Element"][0]["interval"] = "2"

Array[1]["Struct Element2"][0]["name"] = "abc"

Array[1][" Struct Element2"][0]["value"] = "def"

Array[1][" Struct Element2"][0]["label"] = "ghi"

Array[1][" Struct Element2"][0]["Parent"] = "Struct Element2"

Array[1][" Struct Element2"][0]["controlType"] = "CheckBox"

Array[1][" Struct Element2"][0]["minValue"] = ""

Array[1][" Struct Element2"][0]["maxValue"] = ""

Array[1][" Struct Element2"][0]["interval"] = ""

What is the best way to build UI in Flex with this kind of data.

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Fax:   408.284.2766




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Computer software testing Macromedia flex Development
Software developer


YAHOO! GROUPS LINKS




Reply via email to