This event is raised after user finished edit a cell.

See cell edit event flow.


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:


Press enter:


The text has been formatted.

Return to index

3 Responses to “AfterCellEdit”

  1. Polycarp says:

    HI, I have been trying really hard to get the AfterCellEdit to work using and nothing happens even after editing a cell. What am I doing wrong?

  2. Julian Wong says:

    Hey, how would you declare the AfterCellEdit event in Visual Basic? Thanks.