The DataGrid control provides a columns editor to add, remove, and rearrange the columns in the grid. By default, each field in the underlying recordset is bound to a column in the grid, and the columns are ordered according to the fields in the recordset.
To add, remove, and rearrange columns in the grid
Note The column that is added is initially unbound. To bind the column, set its boundFieldName property to the name of a field in the recordset. (For information about how to access column properties, see Accessing Column Properties.)
Note If you simply want to hide the column temporarily rather than completely remove it from the grid, set its visible property to false.