TabSheetModel.parseSpans

Syntax

parseSpans(data, rowCorrection, colCorrection);

Parameters

data. Object. Loading data.

rowCorrection. Number. Row offset.

colCorrection. Number. Column offset.

Description

The parseSpans method loads an array of cell spans to a model.

Comments

It is recommended to use the TabSheetModel.addCellSpan method to add a new range.

The Data parameters is considered as an object with the following structure:

data = {
  CellSpans : {
    CellSpan : [
      {
        "@T" : 1  // row
        "@L" : 1  // column
        "@W" : 2  // width
        "@H" : 2  // height
      },
      {...}
    ]
  }
}

Example

The method is intended for internal use.

See also:

TabSheetModel