getSpan
returns the config array for a span or null, if there are no spans
function getSpan(): array
Returns
Section titled “Returns”array
config for a span
Example
Section titled “Example”var span = dgrid.getSpan();
Details
Section titled “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
Section titled “See also”Articles
API