This sample shows how to handle the basic events in the Grid control.
Right-click on the row header to show a context menu for inserting and deleting a row.
Use controls on top to cancel validation events, effectively disallowing the corresponding user interaction.