States
Plugin states and their meaning
Sortable is enabled
Type - Yes/No
Indicates fi the sorting feature is enabled.
Dragged Item ID
Type - text
Indicates the ID of the element that is currently dragged. If the data source of repeating group is a list of a thing, then this state will be empty because the item will not have an ID.
Copying in progress
Type - Yes/No
This state is to use with action Copy sorted to new DB. Indicates if the copying is still in progress.
Copying process percentage
Type - number
This state is to use with action Copy sorted to new DB. Indicates the status of copying process in percentage.
Saving to DB is in progress
Type - Yes/No
This state is to use in correlation with action Save sorted DB field list Indicates if saving data is in p
RG new order
Type - text
This state is to use in correlation with Initial Order feature. This order text is in a format that is used in plugin logic, it does not contain elements IDs or indexes. It is used to be saved somewhere in your database and use later in a repeating group to set reorder things as they were saved. For example, admin sets an order on his admin dashboard, saves the order, and on users page this order is reflect on users repeating group. More details, see in Initial Order - Feature page.
Reordered things IDs
Type - list of texts
Contains a list of IDs in a new order after reordering things. Updates when item is dropped. Sometimes it is not available instantly, so you can use this in correlation with event State ready: Reordered Things IDs, this event is triggered when the state was updated and is ready to use.
Sorted things Items
Type - List of things
The plugin can sort a list of things and publish the result in this state.
To use this feature, we have added 2 new fields in the plugin element. The fields are optional, use them only if you need this feature.
See them in plugin settings:
field 1: Items Type
field 2 List Of Items
When the result will be ready, an event called Reordered Things List is Ready will be triggered
Demo example of this feature here:
https://ezcodepluginsdemo.bubbleapps.io/sortabe_sort_things_list
Last updated
Was this helpful?