R
Richard
I tried boolCol.ReadOnly = true and a bunch of other things but can't get
the check boxes for the datagrid's column for all rows to be disabled? Can
someone tell me how to do this?
MyGrid.ReadOnly = true;
MyGrid.Click += new EventHandler(MyGrid_Click);
MyGrid.CaptionVisible = false;
tableStyle = new DataGridTableStyle();
tableStyle.MappingName = "MyItemsData";
tableStyle.AllowSorting = false;
tableStyle.RowHeadersVisible = false;
//MyCheckBox Check
boolCol = new DataGridBoolColumn();
boolCol.MappingName = "MyCheckBox";
boolCol.HeaderText = "MyCheckBox";
boolCol.AllowNull = true;
boolCol.NullValue = string.Empty;
boolCol.FalseValue = false;
boolCol.TrueValue = true;
boolCol.Width = boolColWidth;
tableStyle.GridColumnStyles.Add(boolCol);
boolCol = null;
the check boxes for the datagrid's column for all rows to be disabled? Can
someone tell me how to do this?
MyGrid.ReadOnly = true;
MyGrid.Click += new EventHandler(MyGrid_Click);
MyGrid.CaptionVisible = false;
tableStyle = new DataGridTableStyle();
tableStyle.MappingName = "MyItemsData";
tableStyle.AllowSorting = false;
tableStyle.RowHeadersVisible = false;
//MyCheckBox Check
boolCol = new DataGridBoolColumn();
boolCol.MappingName = "MyCheckBox";
boolCol.HeaderText = "MyCheckBox";
boolCol.AllowNull = true;
boolCol.NullValue = string.Empty;
boolCol.FalseValue = false;
boolCol.TrueValue = true;
boolCol.Width = boolColWidth;
tableStyle.GridColumnStyles.Add(boolCol);
boolCol = null;