Added edit mode and modified the action delegate of GMGridView to add a new method.