Editing Dataview - Revert Record

Posted by: johngiblin on 11 May 2020, 3:00 pm EST

    • Post Options:
    • Link

    Posted 11 May 2020, 3:00 pm EST

    I am using the editing feature in Dataview

    I was looking to do 2 things

    1. When I get an error from saving the data to revert the data back
    2. When I validate and it it doesnt pass the validation to keep the row in editing mode.

    For 1 I tried cancelEdit() with no luck.

  • Posted 13 May 2020, 2:28 am EST

    Hi John,

    Please refer to the following demo which demonstrates how we could achieve the required functionality:

    https://www.grapecity.com/dataviewsjs/demos/Features/Editing/Validation/purejs

    Regards

  • Posted 19 May 2020, 4:34 pm EST

    thanks that worked!

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels