MI
mike
November 14, 2003 12:58 PM UTC
You control that through the active DataView associated with the DataGrid. If you haven't created your own customer dataview then there is a default one used available by:
dgMyGrid.DefaultView
the DataView has properties which control what the user can and can't do with the grid. Eg...
//[C#] - Allowing a user to only delete
// from a list
DataView dv = dgMyGrid.DefaultView;
dv.AllowDelete = true;
dv.AllowEdit = false;
dv.AllowNew = false;
cheers,
MM