MouseEvent Object

Hi,

I am using setOnHeaderClickHandler() event.

I want the rowId and column index of the clicked header cell.

I am getting column Index but not rowId. I am getting second parameter as MouseEvent Object.

Is it possible to get rowId from MouseEvent Object? How?

If not then other possible way to find rowId?



Thanks in Advance.

The next must work

var index = (grid.getFirstParentOfType(_isIE?e.srcElement:e.target,“TR”)).rowIndex;

where grid -grid object
           e - event object

getFirstParentOfType method track related TR, and rowIndex property contains index of row