Author Topic: Cancel button after editing , does not work  (Read 2234 times)

amitjkhatri

  • Newbie
  • *
  • Posts: 1
    • View Profile
Cancel button after editing , does not work
« on: November 28, 2015, 12:46:40 pm »
We are trying to integrate the grid with JSP page. All works fine, except the cancel button .

We have binded the data to grid after getting it from the server, which lists properly in to the grid. Also configured to show 'Edit' & 'Delete' buttons on right of every record. When I click edit and changed something, but press 'cancel' button to undo the chages to record it does not undo anything, all the details are preserved on the screen.

Ideally it should revert the changes back to the original one. We are using client side operations on grid.


paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Cancel button after editing , does not work
« Reply #1 on: November 30, 2015, 11:52:56 am »
Please follow this demo. http://paramquery.com/demos/editing which works fine when cancel button is pressed.

For troubleshooting, put a breakpoint inside update function to check whether it's being called.