The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I''m trying to make my bound grid readonly and greyed out. I''ve done this using the following code:
gridRandomClassic.Model.ReadOnly = true;
gridRandomClassic.BackColor = Color.FromKnownColor(KnownColor.Control);
This is fine except that in one of the columns I have check boxes that are still white. Is there a way to change the checkbox color? Or is there an easier way of disabling the grid?
ADAdministrator Syncfusion Team August 24, 2004 06:43 AM UTC
I think to make the checkbox gray, you will have set style.Enabled = false for that column using either gridControl1.COlStyle[col].Enabled or gridDataBoundGrid1.GridBoundColumns[col].StyleInfo.Enabled or gridDataBoundGrid1.Binder.InternalColumns[col].StyleInfo.Enabled.
STStuart Turner August 24, 2004 07:12 AM UTC
Thanks,
This worked
gridDataBoundGrid1.GridBoundColumns[col].StyleInfo.Enabled = false;