Oct 20, 2021 07:32 AM
Hi there - Is it possible to drag and drop to sort as a feature? For instance steps in a task where someone would be adding multiple tasks.
Right now, it’s very binary as in A-Z with only numbers, characters and order of single select and does not currently have a way to drag and drop to sort or change sort order.
I am considering writing code to update sorting order in a group but thought I would ask:
Thanks in advance,
Rose
Oct 20, 2021 07:53 AM
If the view is not set to keep sorted, you can drag and drop records to change their order. Scripting can query the view to get the records in the view’s order, although if the view has grouping you might have to manually deal with grouping. The script can then update a numeric field so that the numeric order matches the manual order.
Oct 20, 2021 07:58 AM
Hi @kuovonne - Yes, I am aware of this, but am looking for something that will maintain the sort order if another column is used to sort.
Do you know how to obtain a list from a group via scripting?
Also, I am not sure how to implement an automation of the order is changed. Is it possible?
Oct 20, 2021 08:09 AM
As I said in my previous post, scripting can query the view to get the records in the view’s order, then the script must manually do the grouping. If you are interested in more detailed instructions from me and have budget, feel free to book an appointment with me.
Automations cannot be triggered by a manual resort of records, or any other change in the user interface. Automation can only be triggered by a data change to a record or by schedule.
Oct 20, 2021 08:14 AM
Hi @kuovonne - Thanks. Maybe it is a new feature that Airtable will find useful.