Two questions in one:
1. What is the proper way to determine the selection mode in a grid?
Right now, I use this code in TypeScript:
Note how I must use ts-ignore, or else I get "Property 'selectable' does not exist on type 'Grid'."
In other words, Grid.selectable does not seem to be a "public" property, also I dislike having to use ts-ignore.
2. In general, is there a way to get access to the grid's current configuration?