hey,
I’d like to use the new cell renderer in my extension but I’m not sure where to actually call that method.
I tried adding it to my controller.js
CellRendererRegistry.addRenderer(
'pac-value-renderer',
new PacValueCellRenderer(),
"error"
);
but I get the error during my extension initialization
org.mozilla.javascript.EcmaError: ReferenceError: "CellRendererRegistry" is not defined. (file:/Users/jan/xworkspace/openrefine-cleaner/module/MOD-INF/controller.js#89)
I tried calling the same function in the Chrome dev tools and the renderer is registered correctly but not called when rendering the cells
I noticed that when reload my dataset, the render is gone again from the registry
thanks in advance for your help