# Adding Components To Datagrid

**URL:** <https://forum.kirupa.com/t/adding-components-to-datagrid/261508>\
**Category:** flash\
**Created:** [May 28, 2008, 9:30am UTC](https://forum.kirupa.com/t/adding-components-to-datagrid/261508 "2008-05-28T09:30:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubbeat](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@dubbeat](https://forum.kirupa.com/u/dubbeat)\
**Post date:** [May 28, 2008, 9:30am UTC](https://forum.kirupa.com/t/adding-components-to-datagrid/261508/1 "2008-05-28T09:30:39Z")

</div>

Hi,

For the past while I’ve unsuccessfully being trying to figure out how to add a button (or movieclip) to a cell in a datagrid.

You can see what I’ve been at here (not much to show for the hours spent :()

[http://www.actionscript.org/forums/s…php3?t=171636](http://www.actionscript.org/forums/showthread.php3?t=171636)

To date I havn’t been able to figure it out on my own and I really need some help.

The examples I’ve found are all in AS2. I cant find a working AS3 example anywhere.

Also I’ve gotten hugely confused because some examples extend the UIComponent while others Implement ICellRenderer.

I’d really appreciate it if someone could help me out on this one and give me the definitive “this is how you do it”

Thanks

dub

---

<div class="post-metadata">

**Author:** ![dColumbus](https://avatars.discourse-cdn.com/v4/letter/d/edb3f5/32.png) [@dColumbus](https://forum.kirupa.com/u/dColumbus)\
**Post date:** [May 31, 2008, 9:18pm UTC](https://forum.kirupa.com/t/adding-components-to-datagrid/261508/2 "2008-05-31T21:18:33Z")

</div>

Bump!
