HI,
Well, i have a RowEditTemplate for my WinGrid, if i make some changes to any proxycell when i press Cancel Button it doesn't cancel the update, because when the Template is closed the row is updated with the changes.
And this is the implementation for the CancelButtonClick event:
{
// This code was automatically generated by the RowEditTemplate Wizard
//
// Close the template and discard any pending changes.
}
Do i have to do something else? i used the example v8.2 RowEditTemplates like a guide.
Plz Help!
Your Customer object would have to properly implement IEditableObject. Using a DataTable would work too, if for some reason you can't implement IEditableObject.
-Matt
Its a BindingList<customer>, so i can use DataTables to bind the data (Customers) there and then bind to the grid? or my Object Customer has to implement the IEditableObject?
-Lois
What kind of DataSource do you have bound to the grid? If the underlying object doesn't implement IEditableObject, there is no way that the grid can know to cancel the edit and revert to the previous values.