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.
ADAdministrator Syncfusion Team March 12, 2004 07:42 AM UTC
You need to set the CellType to ''CheckBox" and to set teh CheckBoxOptions to reflect what you are using as a true/false value (ie, bool true/flase or 1/0 or T/F or ??).
Me.GridControl1(2,3).CellType = "CheckBox"
Me.GridControl(2,3).CheckBoxOptions = New GridCheckBoxCellInfo(True.ToString(), False.ToString(), "", True)
Me.GridControl(2,3).CellValue = True
If you are using a GridDataBoundGrid, you set these properties on the GridBoundColumn.StyleInfo for the given column.
Me.GridDataBoundGrid1.Binder.InternalColumns(2).StyleInfo.CellType = "CheckBox"
Me.GridDataBoundGrid1.Binder.InternalColumns(2).StyleInfo.CheckBoxOptions = New GridCheckBoxCellInfo(True.ToString(), False.ToString(), DBNull.Value.ToString(), True)
See the Syncfusion\Essential Suite\Grid\Samples\Quick Start\CellTypes sample.