Check documentation for the latest version of dhtmlxSuite getColIndex DHTMLX Docs

getColIndex

Gets the column index for the specified column name.

Parameters

  • $col - (string) the column name (e.g. 'B','D')

Return value

  • (number) the column index

Example

$cell = new SpreadSheetCell($res, "1","B1", $db_prefix);
$index = $cell->getColIndex("B");

See also: getColName

Back to top