Example

Limit Edits by Column.


Limit Edits by Column code snippet.

The following is a simple example of how to limit editing of a specific column in the grid.  The code snippet assumes you have a DGrid control named "DGrid1" sited on the form.


    'Sets the AllowEdit property of the 
    'second column in the grid to False.
    DGrid1.Cols(1).AllowEdit = False