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

capture checkbox click event

Thread ID:





12308 Mar 25,2004 05:59 PM UTC Mar 25,2004 10:20 PM UTC WinForms 1
Tags: GridControl
Asked On March 25, 2004 05:59 PM UTC

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 10:20 PM UTC

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); }


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon