We would like to programmatically open the property panel for our custom viewer. Could you share code snippets on how to do this (if possible at all)?
grok.shell.o = viewer;
should do the trick. When you set your viewer as the current object – DG opens property panel for it.
1 Like
Sadly this seems not to work for custom viewers. Are there other ways to open the config panel?
Hmm, but it should. I’ll take a closer look, seems like it’s a bug.
It worths a try pass .dart object, custom viewer still should have it.
Anyway, I need to dig it.
1 Like
grok.shell.windows.showProperties = true;
v = grok.shell.tv.addViewer('Sunburst');
grok.shell.o = v;
I’ve just tried this, and it works for me. Can you provide your example, that doesn’t work?
1 Like