I think to do what ya want, you will need to use the itemRenderer property and
set it to a new instance of ClassFactory which in turn references the
itemRenderer that you want to use.
See this as an example
http://stackoverflow.com/questions/8518206/dynamic-itemrenderer-for-flex-datagrid
Ch
It is in Flex3 ADG...
Still doable?
On Oct 22, 2014 5:29 PM, "João Fernandes" <
joaopedromartinsfernan...@gmail.com> wrote:
> If using a Spark datagrid you can try on the gridColumn the
> itemrendererFunction to define on the fly which ItemRenderer Factory should
> be used.
>
> On 22 October 2014
If using a Spark datagrid you can try on the gridColumn the
itemrendererFunction to define on the fly which ItemRenderer Factory should
be used.
On 22 October 2014 21:14, Oleg Konovalov wrote:
> Hi,
>
> I am need to implement conditional logic for renderer in MXML
> ADGRenderProvider, something
Hi,
I am need to implement conditional logic for renderer in MXML
ADGRenderProvider, something like:
if (condition1) renderer = renderer1
else renderer=renderer2
How can I do that?
TIA,
Oleg