At the moment there isn't any public, sorry...
The best that you can do, is to explore the API in the browser developer tools:

You can also see where this API is used in the component.
---
I can however tell you, regarding the sample code that I sent you:
GridAPI.GridManager.GetActiveGrid()
The above returns the grid in the page, if any. If more than 1, returns the last one that was created.
GridAPI.GridManager.GetActiveGrid().grid.allowPinning = 'ColumnRange'; GridAPI.GridManager.GetActiveGrid().grid.frozenColumns = 2; GridAPI.GridManager.GetActiveGrid().grid.frozenRows = 2;
These last parts, are already from the under-the-hood framework that we are using: wijmo.
You can see the documentation in their website.
Hope that this help you out.