I have found a bug and the line of code causing the problem.
To reproduce the problem, please look at the following fiddle.
If you scroll down you will see that the rendering doesn’t happen as it should.
https://jsfiddle.net/stuartrichardson/70kmzt2L/
I have tracked this problem down to the function onAfterGetCellMeta
} else if (cellProperties.baseRenderer !== null) {
// We must pass undefined value too (for the purposes of inheritance cell/column settings).
cellProperties.renderer = cellProperties.baseRenderer;
cellProperties.baseRenderer = null;
}
In this particular case cellProperties.renderer is already defined to be the custom renderer and then it gets redefined to baseRenderer which is undefined.
The workaround that I am doing at the moment is to check whether renderer is defined already (not too sure if this will cause other problems yet):
} else if (!cellProperties.renderer && cellProperties.baseRenderer !== null) {
// We must pass undefined value too (for the purposes of inheritance cell/column settings).
cellProperties.renderer = cellProperties.baseRenderer;
cellProperties.baseRenderer = null;
}