Accessing “type” property of any viewer throws exception.
let grid = grok.shell.addTableView(grok.data.demo.randomWalk(100, 100)).grid;
let type = null;
try{type = grid.type;}
catch(e)
{
let msg = e.message;
}
Accessing “type” property of any viewer throws exception.
let grid = grok.shell.addTableView(grok.data.demo.randomWalk(100, 100)).grid;
let type = null;
try{type = grid.type;}
catch(e)
{
let msg = e.message;
}
Thanks for reporting the issue - we’ve just fixed it. Also, we’ve made one breaking change - Viewer.getOptions()
now returns a JS object instead of string. It was our intention from the start and we even documented it this way.