It seems that the itemIndexHierarchical property is not available in the documentation. But as I understand, you can use eventArgs.get_itemIndexHierarchical()
to find out the index of the row which is active. check out teh following help document which shows an example of how to use this property: OnRowClick