Access to RxJS Datagrok events

As far as we know, Datagrok is using the reactive approach of RxJS to communicate within the platform. Some of the internal fired events are exposed with custom API methods / event handler like ‘onContextMenuClosed’ other events seems to be accessable via onEvent.

Can you provide some more details when to use what?
Is there a (documentation) list or enum definition with all the events supported by Datagrok?

You can see all events in Developer Tool (Alt + I), it will show you all occurring events.
Also, yes, a good idea to have the help page with all events listed. We will think about how to organize it better.

You can use whatever methods you like, as properties like onContextMethod are basically wrappers on onEvent.