Hi,
Apex 18.2.
apex.region("PI_DTL").widget().interactiveGrid('getCurrentView').getActiveRecord();
It showed,
Uncaught TypeError: apex.region(...).widget(...).interactiveGrid(...).getActiveRecord is not a function
BTW: same code with getActiveRecordId() works fine.