Documentation

columnId

returns the id of the column at the specified index

id columnId(number index);

Parameters

indexnumberthe column index, zero-based numbering

Returns

idthe column id

See also

Example

//the id of the first column
var id = datatable.columnId(0);

Back to top