Skip to main content

Editable Grid Component

How to configure and use the editable grid component

The editable grid component allows the user to display data (read-only mode) and edit data within a grid.

📌 Note: This article covers the Editable grid component in the Builder. For information on the older Grid Builder used on legacy (Designer) screens, see the article "Editable Grids V1".


Overview of Editable Grids

In the below example, the grid is set to editable, as opposed to read only.

  1. Filter views: Click the dropdown to filter the grid with set views.

  2. Search the grid: Search the visible fields in the grid. Any hidden columns will not be included in the search.

  3. Grid Chips: Clicking will open up an area above the grid where you can add 'chips' to filter the list. These chips represent different criteria the visible records need to adhere to. You can also create and save custom view filters.

  4. Sort: This will allow you to sort the grid by the column of your choice.

  5. Show / Hide columns: This will allow you to show or hide columns in the grid.

  6. Other options: Clicking this will show a menu allowing you to:

    • Refresh: This will reset any changes done in the grid.

    • Export: Export data in the grid as a CSV.

  7. Delete: Mark the row for deletion.

  8. Add Lines: Insert rows to potentially add data to the grid.

  9. Per page: Change number of rows shown in a grid.


Customizing the Editable Grid

To use the Editable grid component in your own customizations, add it to a screen in the Builder. In the Components panel, drag Editable grid onto the canvas. You can find it under Commonly used and Data views.

Select the grid on the canvas to configure it in the properties panel on the right. In the properties panel, you can set:

  • Grid type: The grid can be either

    • Read only: Data in the grid can only be viewed and not edited.

    • Editable: Data in the grid can be edited.

  • Table: Set which table to view. Changing the table after any configuration will remove any configuration, so Method asks you to confirm before it changes.

Below that, there are five expandable sections you can further configure:

  • Columns: Set up the fields used as columns in the grid and how to format them for viewing.

  • Views: Set the views the editable grid will have, including visibility, sorting, and filtering.

  • Display: Set the title, how many records are shown in the grid, and its default state.

  • Interactions: Toggle further options available in the grid.

  • Grid events: Set what actions occur when a user clicks a row on the grid.

These options will be discussed in the following sections.

For example purposes, the grid is named Editable_grid and will be using the Contacts table as its base table.


Grid: Columns

The Columns section lists the columns in the grid. Select a column to configure it. To go back to the grid's properties, click the grid's name (for example Editable_grid) at the top of the column's panel.

Clicking the + beside the Columns header will bring up a dropdown allowing you to add a:

  • Button column: Adds a button that runs actions for the row it is in.

  • Card column: Displays multiple fields in the same column.

  • Formula column: Shows a value calculated from an expression you write.

  • Field column: Shows the data from a field in the base table. Select from the list of fields, or use the search bar to find one.

By selecting a column in the Columns section (or the column in the grid on the canvas), you can further configure each individual column.

For the options of each column type, see Editable Grid Component - Columns.


Grid: Views

The Views section allows you to set up filter views for the editable grid. In the below example, two filter views were created: All and Employees.

  • + (beside Views): Add a view.

  • Order: Click and drag to change the order of the filter views.

  • Default view: The star marks the default filter view for the grid.

  • View visibility: The eye icon sets whether or not the filter view is visible in the dropdown.

  • Show view selector: Whether or not the dropdown to choose a filter view is available. The dropdown only shows when there is more than one filter view to choose from.

  • Enable custom views: Allow the user to create and use their own custom filter views. This option appears under Show view selector. Note: Search & filtering under Interactions must first be enabled.

Selecting a view in this section allows you to configure it.

  • Copy / Delete: These icons at the top of the panel allow you to copy and delete a view. The only view in a grid can be copied but not deleted.

  • Filter title: Set the title of the view in the Filter View dropdown.

  • Content: Drag a field by its handle to set the order of the columns. The desktop and phone icons beside each field toggle whether it is visible on desktop and on mobile. A line through an icon means the field is hidden there.

  • Filter: Set the selection criteria for what data can be shown in the grid. For more information on how selection criteria work, see Filter configurations.

  • Sorting: How the data is to be sorted within the grid. A view can sort by any field on the grid's table, including fields that aren't shown as columns.


Grid: Display

  • Title: The title of the grid. Turn on Show title to display it above the grid.

  • Records per page: Select how many rows are shown in the grid.

  • Show vertical dividers: Show lines between the columns of the grid.

  • Default state: The initial state of the grid when the screen loads.


Grid: Interactions

  • Search & filtering: Toggle the search bar and filtering grid chips.

  • Sort: Toggle the sorting icon.

  • Show/Hide columns: Toggle the columns icon.

  • Export to CSV: Toggle the Export to CSV option in the Other options menu.

  • Export to Mailchimp: Toggle the Export to Mailchimp option in the Other options menu. This option is shown when the grid's table is Contacts.

  • Refresh: Toggle the Refresh grid option in the Other options menu.

  • Select records: Toggle the checkbox column on the left of the grid to allow the user to select multiple records.

  • Reorder columns (Beta): Toggle ability to allow the user to hover over a column header (showing a drag icon) allowing them to temporarily reposition the columns in the grid.

  • Add lines: Toggle ability for user to add empty lines to add to the grid. When on, you can also set the Add button text (the text on the button which will add more rows to insert data) and Rows on add (how many new rows are added).

  • Delete records: Toggle the trashcan icon column that allows the user to select a row for deletion. (This will not immediately delete the record). When on, Delete confirmation shows a confirmation for deletion of selected records when the grid is being saved.


Grid: Grid events

Under Grid events, selecting Add row click allows you to set up a set of actions that occur when a user clicks a row.

📌 Note: The Row Click event is only triggered when clicking on a card column, or when the grid is in read only mode.


Saving Data in the Editable Grid

Note, data is not automatically saved when a user adds or modifies data within the Editable Grid. 

If a user navigates away from the screen and then comes back, the data will be lost. 

In order to save the data on the Editable Grid, the action Save All must be executed. 

Did this answer your question?