Skip to content

getSpan

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

function getSpan(): array

array config for a span

var span = dgrid.getSpan();

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

Articles

API