|
Hi,
I need to make some of my DataGrid columns read only. I use a button for that and this code is in a handler:
DataGridTableStyle tsDetails = dgDetails.TableStyles[0]; DataGridColumnStyle cs = tsDetails.GridColumnStyles["SomeName"]; cs.ReadOnly = false;
But this doesn't change anything. What else should I do?
Thank you |