Home All Groups Group Topic Archive Search About

Disable / Enable single grid cell

Author
1 Nov 2006 12:39 AM
D_W
Hi

I use a datatable as a datasource in my datagrid (win form).
I want the user to be able to edit certain columns but not in every
row.
anyone have a good idea how to do this?


So far I have tested to set the datasource to
Row.Table.Columns[ColumnID].ReadOnly = false;
but as you all probobly understand this causes that column to be
editible in every row..


I can't use .net 2.0 as this is a requirement so far.


Hope anyone has a good idea.


Daniel

AddThis Social Bookmark Button