Here is my code
Note: I test it CurrentCellBeginEdit it's work fine but not working CurrentCellEndEdit
ResourceEntities db = new ResourceEntities();
public LicenceFrm()
{
InitializeComponent();
sfDataGrid2.DataSource = db.LIC_Controller.ToList();
this.sfDataGrid2.CurrentCellEndEdit += SfDataGrid2_CurrentCellEndEdit;
CurrentCellManager manager = new CurrentCellManager(sfDataGrid2);
(this.sfDataGrid2.Columns["Lic_State"] as GridCheckBoxColumn).AllowText = true;
}
private void SfDataGrid2_CurrentCellEndEdit(object sender, CurrentCellEndEditEventArgs e)
{
//int rowIndex = e.DataRow.RowIndex-1;
//int columnIndex = e.DataColumn.ColumnIndex;
// Get the mapping name
//var mappingName = this.sfDataGrid2.Columns[columnIndex].MappingName;
//// Get the resolved current record index
// // Get the current row record
// var record1 = this.sfDataGrid2.View.Records.GetItemAt(rowIndex);
// var b = record1.GetType().GetRuntimeProperty(mappingName).GetValue(record1).ToString();
autoLabel2.Text = "The editing is completed for the cell (" + e.DataRow.RowIndex + "," + e.DataColumn.ColumnIndex + ")"; //b.ToString()+" "+ mappingName;
}