I want to change a column of the DataGrid to ReadOnly depending on some other data, so I need to do this in runtime.
What I am looking for is a kind of:
MyDataGrid.Columns.Item(0).ReadOnly = True
which unfortunately is not accepted, but:
MyDataGrid.Columns.Item(0).Visible = True
works fine...
Thanks for your help.
Regards, xstefanr
What I am looking for is a kind of:
MyDataGrid.Columns.Item(0).ReadOnly = True
which unfortunately is not accepted, but:
MyDataGrid.Columns.Item(0).Visible = True
works fine...
Thanks for your help.
Regards, xstefanr