getColumnIndex
returns the index of the column with the specified id
function getColumnIndex( // the id of the column id: id): number
Returns
Section titled “Returns”number
the index of the column
Example
Section titled “Example”//gets the index of the 'rank' columnvar ind = grid.getColumnIndex("rank");
Details
Section titled “Details”Index represents the order of columns in the grid structure.
Zero-based numbering, i.e. the index of the first column == 0.
See also
Section titled “See also”Articles
API