EXAMPLES
Styles and formatting
Styles are merged as patches, so bold, color, background, and number format can be updated independently.
Style patches
setRangeStyle() updates only the supplied keys. null clears the corresponding style key and retains the others.
ts
sheet.setRangeStyle(sheet.selection.range, {
bold: true,
color: "#0b6bcb",
background: "#eaf3ff"
});Apply styles to a range
Select a cell range and use the buttons to apply styles.
Waiting for an action...