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

Loader.
Up arrow icon