Multiple Layouts

SuperTable enables users to create and store multiple custom layouts for quick access. For instance, a user might arrange specific columns in a preferred order in one layout. This functionality allows users to use pre existing layouts without starting from scratch and to easily swap between layouts. Here’s a guide on how to create and store custom layouts:

Configuration

Firstly you will need to create two parameters of type string in your worksheet. One for storing the view and one for the layout change. Leave the value empty.

chevron-rightStep 1 hashtag

Create a parameter

First, create two parameters of type String in your worksheet:

  1. View parameter

    • Data type: String

    • Allowable values: All

    • Current value: (leave empty)

  2. Layout parameter

    • Data type: String

    • Allowable values: List

    • Values: leave empty for now

chevron-rightStep 2hashtag

Configure parameter in supertables

Open the SuperTables configuration screen. By default, you will land on the General tab, the one we need.

In the Store table layout in setting, select the layout parameter you created earlier. This parameter will store the selected table layout.

chevron-rightStep 3hashtag

Configure second parameter you created

Next, go to the Appearance tab in the SuperTables configuration screen.

Scroll down to the section Use a parameter to switch between layouts and enable it. Then select the layout parameter you created earlier.

chevron-rightStep 4hashtag

Setup your dashboard - Show the parameters

Right-click the parameters you created and select Show Parameter to make them visible on the worksheet or dashboard.

All changes made in your SuperTables will be saved in your stored parameter. Once you have configured your SuperTable exactly as you want, copy the text shown in your stored parameter.

chevron-rightStep 5hashtag

Layout parameters

Edit the layout parameter by clicking on the dropdown on the parameter. This is where we will be creating our custom layouts.

Paste your layout as a value in the list and name your custom view.

SuperTables Adding Stored Layout

Repeat this process for each new custom view you wish to have on your dashboard. Once you have all the custom views you want, remove the stored layout from your dashboard. You can now click on each view and see an instant change in your SuperTable!

Video Tutorial

Last updated

Was this helpful?