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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.