Specifies the event arguments triggered before applying cell formatting in the spreadsheet. This allows users to customize the formatting behavior before it is applied to the selected cells.
Specifies the border type to be applied during the cell formatting. This can be one of the following types:
boolean
Specifies whether to cancel the cell or number formatting.
If set to true
, the formatting action is canceled and not applied to the selected range.
If set to false
, the formatting is applied as requested.
string
Specifies the format to be applied when applying number formatting.
This is relevant only when requestType
is set to “Number”.
The format could be any standard number format (e.g., “Currency”, “Percentage”, etc.).
string
Specifies the range of cells to which the cell formatting should be applied. This is a string representing the range (e.g., “A1:C3”, “B2”, etc.). The range can be a single cell or a block of cells.
Specifies the type of request: whether it is a cell format or a number format.
number
Specifies the sheet index where the cell formatting is to be applied. The index corresponds to the position of the sheet in the workbook (0-based index).
Specifies the styles to be applied during cell formatting. This object contains styling properties such as font, color, borders, etc.