Data Grid columns
.NET (Core and Framework)
3
Posts
3
Posters
0
Views
1
Watching
-
Hi all! I have a DataGrid that displays a table with 3 columns: ID, Name, Active. Active is a checkbox. How can I achive, that first 2 columns are NOT editable, but the last one is. Thanks for the answers, Jani
DataGridColumnStyle.ReadOnly Property Gets or sets a value indicating whether the data in the column can be edited. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWindowsFormsDataGridColumnStyleClassReadOnlyTopic.asp
-
Hi all! I have a DataGrid that displays a table with 3 columns: ID, Name, Active. Active is a checkbox. How can I achive, that first 2 columns are NOT editable, but the last one is. Thanks for the answers, Jani