DataModel.getColumnIndex

int getColumnIndex(string name)

Get the index of the first column named name in model.

Parameters

namea column name

Returns

the column index, or -1 if no column named name was found