You may be confusing the view interface with the grid widget.
In this code:
var grid = apex.region("mygrid").widget().interactiveGrid("getViews", "grid");
So when you see sample code doing something like:
var model = apex.region("mygrid").widget().interactiveGrid("getViews", "grid").model;
That was never documented or officially supported but clearly needed in order to work with IG. In 19.1 the model property and a few others will finally be documented.
The view interface does have a getActiveRecordId method but it is still undocumented and always has been.
The view interface does have a view$ property that you can use to call methods on the associated view widget.
So in your example above what you probably intended to do is:
Thanks John, that works.
I already ended up using this: grid.model.getRecord(grid.getActiveRecordId());