We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Unbound CheckBox Column click events in GDBG

Hi there,
How do I get the check to appear and an event to run when I select a box in an unbound column? I would also like to get the value of adjacent col, rows (like the Excel Offset)

Thanks,

This is an example of what I've tried:

GridModel model = this.myGrid.Model;
int ColIndex = this.myGrid.Model.NameToColIndex("Check box Column");
....

myGrid[e.RowIndex, ColIndex].CellValueType = typeof(bool);
myGrid[e.RowIndex, ColIndex].CellValue = "true";

1 Reply

AD Administrator Syncfusion Team December 6, 2006 06:39 AM UTC

Hi Dimitri,

Please refer to the following KnowledgeBase(KB) articles for more details.
How do I insert an unbound check box column in a GridDataBoundGrid?
What is the purpose of checkboxoptions property and how do I set it?


Best Regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon