How to create a [Cancel Button] for quick-edits

Being able to modify a column’s value outside of the form is extremely helpful in speeding up certain data entry scenarios. In AppSheet you can enable this inside the Detail View, selecting the columns you wish users to be able to quick-edit.

But what happens if you need to undo an edit?

If you’re inside the form, you can just cancel and your edits won’t be saved; but with a quick-edit, the edit is saved as soon as the focus leaves the field.

In this video I show you how you can create an “undo” system for quick edits - a Cancel button that users can press to revert things back to the way they were.

-| Table Of Contents |-

15:17 - Overview

2:04 - Start
3:19 - The columns needed for this to work
8:06 - The actions needed for this to work
10:09 - How to setup conditional quick-edits
13:01 - The “Undo” process in action
15:54 - The Accept action
18:32 - (shameless) Patreon plug

12 6 1,321
6 REPLIES 6

Bahbus
New Member

3X_8_b_8be80ddba2f77905d159b5ddc4347764ff200d70.png

<deep breath>

3X_a_3_a314e545cc55df107024983b11e79d34c1ae10c8.gif

Couldn’t help myself. Cool stuff. Good video.

bwahhahaha.

That is great. I make use of Quick Edits so this will be important to implement.

Thanks.

Tip: in your App Documentation, search for this: “QuickEditColumns”: [ " to see where you have set up Quick Edits. If you simply search for QuickEditColumns you’ll get tons of search terms found that don’t actually indicate a Quick Edit column you set up.

Good point about Quick Edit not having an undo, but Forms have a Cancel button.
It would be cool if Quick Edits caused a little undo icon to appear for a few seconds.

If delayed sync is on, then it would basically be the same as jumping the menu and clicking revert changes, but much faster! That’s hard to do quickly when you’re trying to stop a sync.

Mark_S
New Member

This is very cool. Thanks you.

Top Labels in this Space