Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
Brij_Mohan #1
Adding controls dynamically to a datagrid
Hi,
We have a requirement, where based on the UI type selected in a dropdown, a
control should get added to the column of a grid dynamically. For e.g. if the
user selects an option "Dropdown" in the dropdownlist a dropdown should get
added to the column of the datagrid, and if he selects the option "TextBox" a
textbox should be added.
Any thoughts on this will really be appreciated.
Brij_Mohan Guest
-
Dynamically Adding Controls
I am trying to dynamically add controls to my page, but am having trouble with controls such as buttons. I have been able to add simple controls... -
Dynamically adding controls to a data repeater
I would like to create a composite control based on a data repeater how do I dynamically add and bind child controls to it? I imagine this is not a... -
dynamically adding user controls
I have a web form that has a button called "Add Blank Row". Every time this button is pressed a new "blank row" user control should be added to the... -
Dynamically adding different controls to different rows in DataGrid does not work
Hi! I've got a datagrid which I dynamically want to add controls to, and the type of control depends on user rights for the item shown in the... -
Event not firing. Adding controls dynamically to UserControl
I am adding controls to the UserControl dynamically and then loading the UserControl Dynamically.But I am facing problem with firing of click event... -
Greg Lafrance #2
Re: Adding controls dynamically to a datagrid
This should be easy in AS. The dropdown (ComboBox) is dispatches a 'change' event when the selection is made, and then you may need to apply the item renderer / item editor based on their selection.
Greg Lafrance Guest
-
ntsiii #3
Re: Adding controls dynamically to a datagrid
Well, I would not characterize any significant itemRenderer work as "easy"!
But indeed, that will be the solution.
Advice: Do not attempt to create an itemRenderer from scratch. Find an
example and modify it.
Tracy
ntsiii Guest



Reply With Quote

