# Getting an item (row) from datagrid during rollover

**URL:** <https://forum.kirupa.com/t/getting-an-item-row-from-datagrid-during-rollover/317156>\
**Category:** flash\
**Created:** [December 12, 2010, 2:03pm UTC](https://forum.kirupa.com/t/getting-an-item-row-from-datagrid-during-rollover/317156 "2010-12-12T14:03:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OML](https://avatars.discourse-cdn.com/v4/letter/o/5e9695/32.png) [@OML](https://forum.kirupa.com/u/OML)\
**Post date:** [December 12, 2010, 2:03pm UTC](https://forum.kirupa.com/t/getting-an-item-row-from-datagrid-during-rollover/317156/1 "2010-12-12T14:03:09Z")

</div>

Hi  
I have a datagrid that contains a list of users. I want to open a tooltip and display data about these users while the user hovers over a row with the mouse cursor.

I found the itemRollOver event, but I can’t get the item itself.

My attempts were using the event.rowIndex to get the right user, but the datagrid doesn’t act like an array.

I only managed displaying the info by selecting an item and then call it with the dataGrid.selectedItem field.

Is there a way to get the item without selecting it?

Thanks…  
OML
