In Glide, you can display your data in beautiful ways. But you can also customize how your users can edit that data. This allows you to control exactly what data they can edit and gives them a much better user experience than if they were interacting directly with the data.
This guide will give you an overview of adding, editing, deleting, and forms.
Easy Configuration Settings
When you create a new tab from Data in a Glide App — you'll get a screen with a Collection component on it that looks like this.
Features and components when first creating a tab in Glide
On the right-hand side, you'll see the configuration for your collection. On the bottom right, you'll see options to enable add, edit, and delete.
Collections configuration panel
These are just high-level, easy controls for the collection on this screen. Toggling these changes the action settings within the Collection component on that page.
The higher level controls in Collections
Mostly, you don't need to think about these, unless you want to create more Custom Configurations or are dealing with Custom Actions.
Custom Configuration
Edit the default actions
You can configure and edit the default add/edit/delete actions that Glide sets for you. To do this, click on the Collection component and navigate to the Actions tab. Here you can enable Advanced Actions.
Configuring and editing the default add/edit/delete actions
This will show the Action configuration for your collection. If you want to switch back to the default actions, you can reset your collection to the default actions.
Switching back to default actions
Create new actions
The default buttons for adding, editing, and deleting are good for most projects, but you may wish to customize this further by adding actions to add, edit, or delete in other locations.
To do this, you'll want to add a component that supports actions and then add one of the following actions to it.
- Show Form Screen — to add new rows to any table in your project
- Show Edit Screen — to edit existing rows in your table
- Delete Row — to delete rows from your table
For example, here is a details screen that has a button on it with the Show Edit Screen action.
The Title Component (at the top) has a button with the Show Edit Screen action on it
And here is a Details screen with a button configured with the Delete Row action.
The Title Component (at the top) has a button it with the Delete Row action on it
Additional Values
Add, Edit, and Form screens also have additional values that you can pass along to your table on the user's behalf.
For instance, imagine you're submitting an issue on a property using a Property Manager App. You'd want the issue to contain which property the issue pertains to, and the current date, but you wouldn't want to input that information yourself—since it's already clear to you.
Though this is a more advanced topic and it's recommended to explore this after you've gone through Core Concepts. If you're curious about how this works, feel free to check out the guides below.