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 Clay,
I''ve a column in my GDBG grid which is of type check box. Here while binding the data, a database column of type Varchar(1), which can have either ''Y'' or know ''N'' as values, as the source for that cell. That is, if the value is ''Y" i want the Checkbox to be checked and vice versa.. Plz help me out to sort this problem.
Thanks,
Thiagu.
ADAdministrator Syncfusion Team September 8, 2004 06:01 AM UTC
You can try setting the checkbox options (GridBoundColumn.StyleInfo.CheckBoxOptions) for that column to use "Y" and "N".
gbc.StyleInfo.CellType = "CheckBox";
gbc.StyleInfo.CheckBoxOptions.CheckedValue = "Y";
gbc.StyleInfo.CheckBoxOptions.UncheckedValue = "N";