Not surecan you create a little test app, to demonstrate the
problem (doesnt have to be a dynamically created datagridcolumn).
are you saying the combobox renderer should be set to the datagrid's
dataprovider?
if that the case, one solution might be to create your own myComboBox
(extending a
That was really helpful! I thank you for that.
However, when I do this:
-
var dataprovider:Array =
[{label:"algoA1",data:"algoA1"},{label:"algoB1",data:"algoB1"}];
columna.rendererIsEditor = true;
var combo:ClassFactory = new ClassFactory(ComboBox);
combo.properties = {dataProvid
you will need to do little bit more. try this
var textbox:ClassFactory = new ClassFactory(TextInput);
textbox.properties = { text:"Write something here..." };
columna.itemRenderer = textbox;
columna.rendererIsEditor=true;
etc
or
you could always put "write something here..." into a global
var
Ok, I get your idea, however, what if I need a custome component to be
placed in the itemrenderer, so I can dynamically assing it special
feature? Lets say I want to set the text attribute to "Write something
here..." when the component initializes.
Thanks!
--- In flexcoders@yahoogroups.com, "bha
Ok, I get your idea, however, what if I need a custome component to be
placed in the itemrenderer, so I can dynamically assing it special
feature? Lets say I want to set the text attribute to "Write something
here..." when the component initializes.
Thanks!
--- In flexcoders@yahoogroups.com, "bha
> var aux:TextInput = new TextInput();
> columna.itemRenderer = aux as IFactory;
can you do this instead
columna.itemRenderer = new ClassFactory(TextInput);
--- In flexcoders@yahoogroups.com, "Daniel" <[EMAIL PROTECTED]> wrote:
>
> Hello!
>
> This time Im tryi
6 matches
Mail list logo