DataGrid REALbasic Plugin

DataGrid.InsertCol Method

To insert a column.

InsertCol(
   Where as Integer,
   NewLabel as String)

Parameters

Where
The column number where the column will be inserted.
NewLabel
The text of the column label.

Remarks

Example:

Grid1.InsertCol Grid1.Cols+1,"some label"

See Also

DataGrid Control