TIWCGJQCustomSpreadSheet.ToggleCellStyle(string,string,Integer,Integer,Integer) Method
Sets cell class for styling.
![]() |
---|
When ARowIndex & AColIndex (Optional: & ASheetIndex) are specified, will sets on specified cell. |
![]() |
---|
When ARowIndex & AColIndex are not specified, will sets on selected/highlighted cells. |
public procedure ToggleCellStyle(const ACssClass: string; const ARemoveCssClass: string = ''; const ARowIndex: Integer = -1; const AColIndex: Integer = -1; const ASheetIndex: Integer = 0); overload;
Parameters
- ACssClass
- Type: string
Css class to set.
- ARemoveCssClass
- Type: string
Class(es) to remove from cell if the ACssClass would conflict with.
- ARowIndex
- Type: Integer
Row Index. Default: -1
- AColIndex
- Type: Integer
Column Index. Default: -1
- ASheetIndex
- Type: Integer
Sheet Index. Default: 0