Yes, Joost, there is a way to incorporate a button inside of a
datagrid.   By using an itemRenderer you can simply add any component
inside of a datagrid: button, checkbox, radio, etc.  Inside the
datagrid column you code in:

itemRenderer="mx.controls.Button"

*Make sure that you code in actionScript "import mx.controls.Button,"
if flex dooesn't code it in for you.  However, I am not sure how you
can use a function to accompany this button, but if you come across
it, please let me know.

-Sal


--- In [email protected], "Joost Saanen" <[EMAIL PROTECTED]> wrote:
>
> Hi there,
> 
> Is it possible to add a button in a cell of a datagrid? I search the
whole 
> web and the help/reference but I am not able to find any information.
> Thx in advance ..
> 
> Regards,
> 
> Joost Saanen
> 
> de Informatiefabriek
> The Netherlands
>







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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to