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.

capture checkbox click event

Thread ID:

Created:

Updated:

Platform:

Replies:

12308 Mar 25,2004 12:59 PM Mar 25,2004 05:20 PM Windows Forms 1
loading
Tags: GridControl
hahs
Asked On March 25, 2004 12:59 PM

I need to capture the event when a checkbox cell in my grid changes. The CurrentCellChanged method captures the event but it doesn''t give me the row and cell numbers and i must know them. I have tried using the CellRenderer stuff but then the cell isn''t a checkbox only the value (1,0) shows. I have copied similar code that my project is using for a LinkLabel using the CellRenderer stuff and it works fine. Can anyone help?

Administrator [Syncfusion]
Replied On March 25, 2004 05:20 PM

In CurrentCellChanged, you can get the row and column from the currentcell itself. private void gridControl1_CurrentCellChanged(object sender, System.EventArgs e) { GridCurrentCell cc = this.gridControl1.CurrentCell; Console.WriteLine("change in ({0},{1})", cc.RowIndex, cc.ColIndex); }

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.

;