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

capture checkbox click event

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?

1 Reply

AD Administrator Syncfusion Team 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); }

Loader.
Live Chat Icon For mobile
Up arrow icon