# Drag and Drop in dashboard

**URL:** <https://rossvideo.community/t/drag-and-drop-in-dashboard/8609>\
**Category:** Automation & Control\
**Created:** [August 16, 2021, 2:36am UTC](https://rossvideo.community/t/drag-and-drop-in-dashboard/8609 "2021-08-16T02:36:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dingyouxing](https://rossvideo.community/letter_avatar_proxy/v4/letter/d/73ab20/32.png) [@dingyouxing](https://rossvideo.community/u/dingyouxing)\
**Post date:** [August 16, 2021, 2:36am UTC](https://rossvideo.community/t/drag-and-drop-in-dashboard/8609/1 "2021-08-16T02:36:00Z")

</div>

Hi:

I want the drag label to be in the format shown in the figure below. I want two different DRAG objects to assign different values to the drop object, and instead of writing two ogScript tags, I want to be able to identify the specific DRAG object ID and return different values between “drag” and “drop”. Is there an event that does this?

PS: The event attribute in dashboard is not found in the help document where I should look for it.

![](https://discourse-rossvideo-uploads-east2.s3.dualstack.us-east-2.amazonaws.com/original/2X/c/c08d250019e3456848ebe55a4143d0254e0b8a2d.png)

 return 'drag1'; ogscript.rename('dropspot', 'Dropped: "' + event.dropData + '"'); ​

---

<div class="post-metadata">

**Author:** ![system](https://rossvideo.community/uploads/default/original/1X/507e4ebb7c5bc59238f6b32d29e5d386a7aa7913.png) [@system](https://rossvideo.community/u/system)\
**Post date:** [August 16, 2021, 3:45pm UTC](https://rossvideo.community/t/drag-and-drop-in-dashboard/8609/2 "2021-08-16T15:45:00Z")

</div>

_Originally posted by \*\*\*\*_

Hi Ding,

You can use dragvalue attributes that can return basically the dragids here.  
Please find the attached code for the panel.

 ogscript.rename('dropspot', 'Dropped: "' + event.dropData + '"'); ​

Thanks  
Anand

---

<div class="post-metadata">

**Author:** ![dingyouxing](https://rossvideo.community/letter_avatar_proxy/v4/letter/d/73ab20/32.png) [@dingyouxing](https://rossvideo.community/u/dingyouxing)\
**Post date:** [August 27, 2021, 11:40am UTC](https://rossvideo.community/t/drag-and-drop-in-dashboard/8609/3 "2021-08-27T11:40:00Z")

</div>

It’s great!  
And another question. Could you please tell me other related event properties, such as I can get the id of the object.

---

<div class="post-metadata">

**Author:** ![system](https://rossvideo.community/uploads/default/original/1X/507e4ebb7c5bc59238f6b32d29e5d386a7aa7913.png) [@system](https://rossvideo.community/u/system)\
**Post date:** [August 30, 2021, 2:35pm UTC](https://rossvideo.community/t/drag-and-drop-in-dashboard/8609/4 "2021-08-30T14:35:00Z")

</div>

_Originally posted by \*\*\*\*_

Hi Ding,

Each type of event has different properties

There aren’t many properties we expose

Your drop handler knows:

isConnectionSettings

isFileList

x

y

dropData
