A
aualias
I have the following code...
DataGridTableStyle ts = new DataGridTableStyle();
dgTest.TableStyles.Clear();
ts.MappingName = "Test";
DataGridTextBoxColumn col1 = new DataGridTextBoxColumn();
col1.MappingName = "something";
col1.HeaderText = "Something";
col1.ReadOnly = true;
col1.NullText = "xxyyzz"
ts.GridColumnStyles.Add(col1);
dgTest.TableStyles.Add(ts);
The column is not ReadOnly and NullText is "(null)".
What am I missing?
Thanks.
David
DataGridTableStyle ts = new DataGridTableStyle();
dgTest.TableStyles.Clear();
ts.MappingName = "Test";
DataGridTextBoxColumn col1 = new DataGridTextBoxColumn();
col1.MappingName = "something";
col1.HeaderText = "Something";
col1.ReadOnly = true;
col1.NullText = "xxyyzz"
ts.GridColumnStyles.Add(col1);
dgTest.TableStyles.Add(ts);
The column is not ReadOnly and NullText is "(null)".
What am I missing?
Thanks.
David