Home Forums WinForms controls Xceed Grid for WinForms Cell Checkbox Reply To: Cell Checkbox

User (Old forums)
Member
Post count: 23064

Hi,

some good old references can always be useful:

http://doc.xceedsoft.com/products/Xceedgrid/Editors_WinCheckBox_control.html

http://doc.xceedsoft.com/products/Xceedgrid/CheckBoxViewer.html

http://doc.xceedsoft.com/products/Xceedgrid/Xceed.Grid~Xceed.Grid.Viewers.CheckBoxViewer_members.html 

Also the Xceed Grid for .NET Live Explorer 3.8 source code can always help.   In the Rich Text Editors, the CheckBox section which goes like:

      // CheckBox
      dataRow = gridControl1.DataRows.AddNew();

      dataRow.Cells[ “Editors” ].HorizontalAlignment = HorizontalAlignment.Center;
      dataRow.Cells[ “Editors” ].VerticalAlignment = VerticalAlignment.Center;
      dataRow.Cells[ “Editors” ].CellEditorManager = new CheckBoxEditor();
      dataRow.Cells[ “Editors” ].CellViewerManager = new CheckBoxViewer();
      dataRow.Cells[ “Editors” ].Value = true;
      dataRow.Cells[ “Description” ].Value = “CheckBox”;

      dataRow.EndEdit();
 

Regards,

Imported from legacy forums. Posted by Ghislain (had 1923 views)