Home Forums WinForms controls Xceed Grid for WinForms DataRowsChanged Event Reply To: DataRowsChanged Event

User (Old forums)
Member
Post count: 23064

Use the EditEnded event on the DataRowTemplate, and cast the sender to a DataRow in the event handler. This will give you access to the row that was just edited.

e.g.:

//In Form_Load

dataRowTemplate1.EditEnded += new EventHandler(dataRowTemplate1_EditEnded);

//Event handler

private void dataRowTemplate1_EditEnded(object sender, EventArgs e)
{
Xceed.Grid.DataRow row = ( Xceed.Grid.DataRow )sender;
}

Imported from legacy forums. Posted by André (had 4034 views)