combineCells
merges several adjacent cells
void combineCells( [object range,string page] );
range | object | optional, the range of cells that should be merged |
page | string | optional, the name of the sheet |
Example
$$("ssheet").combineCells({cell:{row:4, column:5}, x:2, y:2}, "Sheet1");
Details
If the range parameter isn't set, spreadsheet combines selected cells.
The range object includes three properties:
- cell - (object) the id of the cell that starts the range. The object includes two attributes:
- row - (number) the index of the cell row
- column - (number) the index of the cell column
- x - (number) the number of cells that will be merged horizontally
- y - (number) the number of cells that will be merged vertically
Back to top