The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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?
ADAdministrator 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);
}