drag and drop a row in list(#PRIM_MD.List)

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
Rieko Saitoh
Posts: 39
Joined: Sat Apr 30, 2016 11:46 am

drag and drop a row in list(#PRIM_MD.List)

Post by Rieko Saitoh » Thu Aug 29, 2019 4:36 pm

Hi all,

I would like to drag and drop a row of list (#PRIM_MD.List) in Webpage.
Does anyone have a sample code like this? May I have a sample code?

Thank you.

Best regards,
Rieko Saitoh
LANSA japan

MarkD
Posts: 630
Joined: Wed Dec 02, 2015 9:56 am

Re: drag and drop a row in list(#PRIM_MD.List)

Post by MarkD » Tue Sep 03, 2019 9:43 am

This shipped example (xDemoWebDragandDrop) demonstrates dragging and dropping between two #PRIM_LIST controls.

I suspect that the code to do that with a #PRIM_MD.List would be more or less the same:

CaptureDragandDrop.PNG
CaptureDragandDrop.PNG (25.62 KiB) Viewed 257 times

Rieko Saitoh
Posts: 39
Joined: Sat Apr 30, 2016 11:46 am

Re: drag and drop a row in list(#PRIM_MD.List)

Post by Rieko Saitoh » Mon Sep 09, 2019 4:18 pm

Hi Mark,

Thank you for presenting the sample. I am going to use it as an example. Thank you for your support.

Best regards,
Rieko Saitoh
LANSA japan

Rieko Saitoh
Posts: 39
Joined: Sat Apr 30, 2016 11:46 am

Re: drag and drop a row in list(#PRIM_MD.List)

Post by Rieko Saitoh » Wed Sep 11, 2019 12:15 pm

Hi,

I ran this sample on a touch device, but I couldn't rearrange the rows. I looked for a sample that moved the list rows by touch, but I couldn't find it. Do you have a sample that moves the rows of a list by touch operation?

Best regards,
Rieko Saitoh
LANSA japan

Post Reply