This sample demonstrates the Spreadsheet
cell formatting feature by applying different styles to a
range of cells.
Cell formatting allows you to highlight cell data that appears in the Spreadsheet. It can be enabled or disabled using the allowCellFormatting property. In this sample, gridlines are hidden using the showGridLines property and the styles are applied using the style property and cellFormat method. More information about cell formatting can be found in this documentation section.