returns the index of the column with the specified id
id | id | the id of the column |
number | the index of the column |
//gets the index of the 'rank' column
var ind = grid.getColumnIndex("rank");
Index represents the order of columns in the table structure.
Zero-based numbering, i.e. the index of the first column == 0.