Deleting Persistent Columns

From RAD Studio
Jump to: navigation, search

Go Up to Creating a Customized Grid

Deleting a persistent column from a grid is useful for eliminating fields that you do not want to display.

To remove a persistent column from a grid

  1. Double-click the grid to display the Columns editor.
  2. Select the field to remove in the Columns list box.
  3. Click Delete (you can also use the context menu or Del key, to remove a column).

Note: If you delete all the columns from a grid, the Columns.State property reverts to its csDefault state and automatically build dynamic columns for each field in the dataset.

You can delete a persistent column at run time by simply freeing the column object:


See Also