# Vision: Draggable Items in A List or Table

**URL:** <https://forum.inductiveautomation.com/t/vision-draggable-items-in-a-list-or-table/40748>\
**Category:** Ignition\
**Created:** [November 17, 2020, 9:33pm UTC](https://forum.inductiveautomation.com/t/vision-draggable-items-in-a-list-or-table/40748 "2020-11-17T21:33:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cboin](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@cboin](https://forum.inductiveautomation.com/u/cboin)\
**Post date:** [November 17, 2020, 9:33pm UTC](https://forum.inductiveautomation.com/t/vision-draggable-items-in-a-list-or-table/40748/1 "2020-11-17T21:33:13Z")

</div>

Hello,

I cannot figure out if it is possible to have items able to be dragged around in a list or table in Vision.  
I would like the user to be able to change the order of a list by dragging the items to their desired order.

Please refer to ‘Single Listbox’ example at this link: [https://ej2.syncfusion.com/react/documentation/list-box/drag-and-drop/](https://ej2.syncfusion.com/react/documentation/list-box/drag-and-drop/)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 17, 2020, 9:37pm UTC](https://forum.inductiveautomation.com/t/vision-draggable-items-in-a-list-or-table/40748/2 "2020-11-17T21:37:43Z")

</div>

I think you might need to use the [Vision Power Table](https://docs.inductiveautomation.com/display/DOC81/Vision+-+Power+Table) to have drag and drop.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 17, 2020, 9:38pm UTC](https://forum.inductiveautomation.com/t/vision-draggable-items-in-a-list-or-table/40748/3 "2020-11-17T21:38:04Z")

</div>

A power table is your best bet; there's a recent post by @samngeru that looks like it's a lot of what you're looking for:

> [@Power Table drag and drop](http://forum.inductiveautomation.com/t/power-table-drag-and-drop/9128/14):
>
> This allows a single row or multiple rows to be moved between the same table. Seems to work with multiple and single interval selection mode. Sorry for the list comprehensions. The try and except block are needed because of indexing issues when moving rows to the bottom of a dataset. data = self.data allRows = [[rowData.getValueAt(rowNdx, colNdx) for colNdx in range(rowData.columnCount)] for rowNdx in range(rowData.rowCount)] try: self.data = system.dataset.deleteRows(self.data,rows) self…

---

<div class="post-metadata">

**Author:** ![cboin](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@cboin](https://forum.inductiveautomation.com/u/cboin)\
**Post date:** [November 17, 2020, 9:41pm UTC](https://forum.inductiveautomation.com/t/vision-draggable-items-in-a-list-or-table/40748/4 "2020-11-17T21:41:50Z")

</div>

Interesting OK. Thank you @paul-griffith and @Kevin.Herron. You are my rocks.
