Editing Dataview - Revert Record

Posted by: johngiblin on 11 May 2020, 6:00 am EST

    • Post Options:
    • Link

    Posted 11 May 2020, 6:00 am 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 12 May 2020, 5:28 pm 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, 7:34 am 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