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.
Unfortunately, activation email could not send to your email. Please try again.

CheckBoxClick event

Thread ID:

Created:

Updated:

Platform:

Replies:

15487 Jun 19,2004 07:10 PM Jun 20,2004 12:05 PM Windows Forms 1
loading
Tags: GridControl
Sean Greer
Asked On June 19, 2004 07:10 PM

I''m handling the CheckBoxClick event in a GridControl and the CurrentCell.Renderer is null. What I''d like to know is the new checked state of the cell. I know I can handle this with CurrentCellChanged, but CheckBoxClick seemed more specific to the task at hand. So, I suppose the question is: how do I determine the check state of a cell in the CheckBoxClick event? Thanks, Sean

Administrator [Syncfusion]
Replied On June 20, 2004 12:05 PM

You can get it directly from the grid. bool newVal = !((bool)this.gridControl1[this.gridControl1.CurrentCell.RowIndex, this.gridControl1.CurrentCell.ColIndex].CellValue);

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;