If you pass arguments to the renderOptions param, it is necessary to manually update x$params$rendererOptions(with itself?) to get it to work. Consider this example:
and view MYPIVOT again, then note how clicking on a cell shows a message. I have the same experience with setting c3 renderOptions, it is always necessary to add this line after a call to rpivotTable.
If you pass arguments to the renderOptions param, it is necessary to manually update
x$params$rendererOptions
(with itself?) to get it to work. Consider this example:Run this and click on any data cells--nothing happens.
But if you add this line after your call to
rpivotTable
:MYPIVOT$x$params$rendererOptions = MYPIVOT$x$params$rendererOptions[[1]]
and view
MYPIVOT
again, then note how clicking on a cell shows a message. I have the same experience with setting c3 renderOptions, it is always necessary to add this line after a call torpivotTable
.Thanks.