getColumnLabel

gets the label of the column specified by index

string getColumnLabel(number cin,number ind);

Parameters

cinnumbercolumn index
indnumberheader row index (optional, 0 by default, makes sense only for a multiline header)

Returns

stringthe label of the column specified by index

Example

//get label of the first column
var colLabel=myGrid.getColLabel(0);
//get label of the second line of the first column
var colLabel=myGrid.getColLabel(0,1);

Back to top