This content has been marked as final. Show 4 replies
Yes, you can change the dataProvider data easily. Simply re-assign the dataProvider to a different variable, or re-populate the variable and re-assign it, or bind to the variable and update it.
You could make a repeater item be selectable by putting an event handler on the container that holds the components. You can also use a customRenderer with list. I do not know if list has variableRowHeight. DataGrid does.
can i really tell Flex to make these repeater items selected /selectable or do i have to implement the selection myself using a mouseListener or some kind of this?
If the repeated component needs to act like a single clickable button, and does not have any subcomponents that are interactive, then on the outer tag of the repeated stuff set: mouseChildren="false" buttonMode="true"
But.. is there a kind of "visual selection mechanism"?
If i want to create some kind of "Gui builder" in Flex and want to give a visual feetback when the user selects Components, is there any kind of mechanism that is _already build in_ to show, that a component is selected?
If not, whats the way to implement this? Creating a Canvas with a border and putting it beneath the component? Or are there other possibilities.