How to write custom field format in spreadsheet for text alignment
Confluence User - 25 May, 2022
Hi experts,
I'm trying to align text in spreadsheet to center. I tried putting this in the field format but it doesn't work. Anyone can advice?
{{renderer:function(instance, td, row, col, prop, value, cellProperties){Handsontable.renderers.TextRenderer.apply(this, arguments);td.style.text-align = 'center';}}}
I'm refering to examples in Spreadsheet Custom Field Formats
spreadsheet;rendering;format;text-align