getSpan

returns the config array for a span or null, if there are no spans

array getSpan();
arrayconfig for a span

Example

var span = $$("dtable").getSpan();

Details

The elements of the returned array are:

  • id - (number,string,object) the id of the row that starts the colspan/rowspan
  • column - (string) the id of the column that starts the colspan/rowspan
  • width - (number) the number of columns in the span
  • height - (number) the number of rows in the span
  • value - (string) optional, the value that the span area should display
  • css - (string) optional, the css class that should be applied to the span area
See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix html5 library and page of ui datagrid product.