AfterCellEdit

This event is raised after user finished edit a cell.

See cell edit event flow.

Sample

Format cell data from ‘text’ to ‘[text]’ in AfterCellEdit:

var worksheet = reoGridControl.Worksheets[0];

worksheet.AfterCellEdit += Worksheet_AfterCellEdit;

void Worksheet_AfterCellEdit(object sender, CellAfterEditEventArgs e)
{
  e.NewData = "[" + e.NewData + "]";
}

Start to edit cell:

151

Press enter:

152

The text has been formatted.


Return to index