OK, figured it out. It is:

event.itemRenderer.data[myDataGrid.columns[event.columnIndex].dataField]

--- In [email protected], "valdhor" <valdhorli...@...> wrote:
>
> OK, I am having a senior moment (Or this flu is really screwing me up).
> 
> I have a datagrid that displays data from an arraycollection of objects. I 
> need to grab the underlying data when a user clicks on a cell. I have an 
> eventListener for the itemClick event. This event gives me the rowIndex and 
> columnIndex of the datagrid that was clicked.
> 
> Now, a user can move the columns around. What part of the datagrid object 
> (Passed as part of the event object) will give me the actual data in the cell 
> that the user clicked on?
>


Reply via email to