How to implement drag-and-drop between grids

A record can be dragged from one grid represented by a standard query to another grid represented by some other standard query. Note that this will only work if both queries query on the same business object.

In order to support this, you need to define a process that will be run when a record is dropped. For example, if you have a query showing open issues and a query showing closed issues and you drag an issue from the “open issues: grid to the “closed issues” grid a process will need to change the status of the issue to Closed. A record being dragged is automatically given as input to the process, so the process has to declare the Issue object as input and change its status Issue.State = 'Closed'

You then need to open the “Drag-and-drop/Reordering property of the query, whose records are being dragged and tick the “Allow dragging records of this query” checkbox. Then you need to go to the same property of the target query and tick the “Allow dropping records of the same type” checkbox and then specify the process to be run.

  • Last modified: 2023/05/09 02:02