combineCells

merges several adjacent cells

void combineCells( [object range] );
rangeobjectoptional, the range of cells that should be merged

Example

$$("ssheet").combineCells({cell:{row:4, column:5}, x:2, y:2});

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
If you have not checked yet, be sure to visit site of our main product Webix ui component library and page of javascript spreadshee product.