# \[Flash 8\]

**URL:** <https://forum.kirupa.com/t/flash-8/213376>\
**Category:** flash\
**Created:** [January 19, 2007, 1:37am UTC](https://forum.kirupa.com/t/flash-8/213376 "2007-01-19T01:37:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shax](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@shax](https://forum.kirupa.com/u/shax)\
**Post date:** [January 19, 2007, 1:37am UTC](https://forum.kirupa.com/t/flash-8/213376/1 "2007-01-19T01:37:36Z")

</div>

How do you get the selected index in a datagrid, thats it, thats all i need to know, it’s driving me crazy, please help!!

by the way the actual situation is that I’m tryin to show the data of a selected row in a datagrid, when a row is selected the current slide is set as invisible and the message\_view slide is made visible and the data is shown in a text box. e.g.

on\_datagrid\_click\_event (  
text\_box.text = data\_at\_selected\_index;  
this.\_visible = false;  
\_parent.messageView.\_visible = true;  
}
