DataGridView Readonly Question
-
Hi All, I am working with VS.NET 2005 datagridview. For the past 2 hours i have been screwed up by this grid behavior. I have 12 columns in my datagridview and I want 1 of them (which is checkbox) to be editable like user can check/uncheck it. When I bound the grid to datasource (dataset), it will not allow me to check/uncheck the checkbox column. I debug it and it shows the column readonly property set to false which is OK, but why it didnt allow me to edit it. Same happens in Virtual mode of the grid. Do you have any idea how can I make columns editable in normal and virtual mode with Bound columns? Thanks,
Mubashir Software Architect Storan Technologies Inc, USA Every job is a self portrait of the person who did it.
-
Hi All, I am working with VS.NET 2005 datagridview. For the past 2 hours i have been screwed up by this grid behavior. I have 12 columns in my datagridview and I want 1 of them (which is checkbox) to be editable like user can check/uncheck it. When I bound the grid to datasource (dataset), it will not allow me to check/uncheck the checkbox column. I debug it and it shows the column readonly property set to false which is OK, but why it didnt allow me to edit it. Same happens in Virtual mode of the grid. Do you have any idea how can I make columns editable in normal and virtual mode with Bound columns? Thanks,
Mubashir Software Architect Storan Technologies Inc, USA Every job is a self portrait of the person who did it.
Did you set the
DataGridView.ReadOnly
property toTrue
?A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
Did you set the
DataGridView.ReadOnly
property toTrue
?A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
Did you set the
DataGridView.ReadOnly
property toTrue
?A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007