getSpan

returns the span of a cell

array getSpan(number row,number column, [string page] );
row
numberthe row index of the cell column
numberthe column index of the cell page
stringoptional, the name of the sheet
arrayan array describing the span, or undefined if the cell has no span

Example

const span = $$("ssheet").getSpan(1, 1);
// returns [1, 1, 5, 1]

Details

The method returns an array in the same format as the spans field in the data:

If the cell has no span, the method returns undefined.

See also
  • API
  • Articles
  • 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 web control library and page of spreadsheet javascript library product.