Drag and Drop in dashboard

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.

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

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

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.

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