Skip to content

Reorder List

A reorder list lets you set up a list with various categories and draggable items that you can easily move around and rearrange into different categories.

reorder-list

Configuring the Reorder List

The Reorder List is organized into a Stack that includes Header, Items, and Footer containers. In the Items container, everything is draggable, meaning you can move items around freely.

Here are the key properties you can configure:

  1. Group: This is where you name your list. It's handy when you have multiple lists and need to set rules for moving items between them.
  2. Items: This is the list of items you want to repeat. By default, we provide a JSON object with a list of items. You can edit this within the Items container to add or remove elements as needed.
  3. Sortable: Toggle this option to enable sorting of the list.
  4. Read Only: Use this toggle to allow or prevent editing.
  5. Custom Drag: While everything in the Items container is draggable, you might want some elements, like list names or images, to stay put. By enabling the Custom Drag option, you can specify which items can be dragged. When you toggle Custom Drag, you'll be asked for a Class name. Only elements within Items that have this class name will be draggable.

reorder-list

Setting drag on elements

Want to make only specific elements draggable? Here's how:

  1. First, turn on Custom Drag for the Stack.
  2. Next, pick a class name, like draggable.
  3. For each element you want to be draggable, head over to its Settings > HTML attributes. Add your chosen class name to its Class attribute (default is draggable).

reorder-list-drag