combineCells

merges several adjacent cells

void combineCells( [object range,string page] );
rangeobjectoptional, the range of cells that should be merged
pagestringoptional, 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 the selected cells.

The range object includes the following properties:

  • cell - (object) the id of the cell that starts the range. The object includes the following attributes:
    • row - (number) the row id of the cell
    • column - (number) the column id of the cell
  • x - (number) the number of cells that will be merged horizontally
  • y - (number) the number of cells that will be merged vertically
See also
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.
If you have not checked yet, be sure to visit site of our main product Webix ui component library and page of javascript spreadsheet product.