A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/grid/api/grid_getspan_method/ below:

Website Navigation


JavaScript Grid - getSpan Method

getSpan()

returns an object with spans

getSpan(rowId: string | number, colId: string | number): object;

Parameters: Returns:

An object with the configuration of a span.

Example

const span = grid.getSpan("10", "a"); 
// -> { row: "10", column: "a", colspan: 4, text: "Some header", css: "myCustomColspan" }

A returned object contains the following properties:

row (string|number) obligatory, the id of a row column (string|number) obligatory, the id of a column rowspan (number) optional, the number of rows in a span colspan (number) optional, the number of columns in a span text (string|number) optional, the content of a span css (string) optional, the name of a CSS class applied to a span

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4