# Get datagrid cell contents

**URL:** <https://forum.kirupa.com/t/get-datagrid-cell-contents/258420>\
**Category:** Uncategorized\
**Created:** [April 23, 2008, 8:22pm UTC](https://forum.kirupa.com/t/get-datagrid-cell-contents/258420 "2008-04-23T20:22:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danthemilk](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@danthemilk](https://forum.kirupa.com/u/danthemilk)\
**Post date:** [April 23, 2008, 8:22pm UTC](https://forum.kirupa.com/t/get-datagrid-cell-contents/258420/1 "2008-04-23T20:22:19Z")

</div>

Hello,  
CS3(AS3)

Does anybody know of a simple way to get the text content of a datagrid cell? For instance, the user selects a cell and presses a button, and the contents of the selected cell are stored as a String. It seems like this would be a simple task, but I cant get it to work.

Thanks dudes!
