Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Hi,
You can just paste the following code in your column format.
{{ renderer : function(hotInstance, TD, row, col, prop, value) { var colors = { Red: '#e87677', Green: '#66e100', Blue: '#00a7fe', Purple: '#6623e2', Orange: '#ffad24', Yellow: '#ffe300', }; TD.style.color = colors[value]; TD.textContent = value; } }}
Best regards.
perfect! thanks.
Hi,
I'm trying to create a custom renderer like the color coded fonts from https://handsontable.com/features
documentation from Spreadsheet isn't clear on how to apply it in the custom settings. Is there any examples that I can follow?