Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Drag and Drop UI5

$
0
0

Hi, I am a beginner to UI5/MVC

 

I have a requirement to have two trees on the UI. the user can then drag an element from one tree into another tree. Also, only elements within a certain node can be dragged and will have to be dropped within a certain node. i.e. screenshot 3 shows my application so far. If you see, only the individual employee's element (employee 1, employee 2 etc..)  can be dragged and they must be dropped within the same node level in the other tree. (hope this makes sense)

 

I have started this in NWDS (UI5 add on) but I am stuck on implementing the actual drag and drop functionality. I understand I need to use this Query UI library which I have downloaded: htttp://jqueryui.com/download.

 

Where do I need to 'install' this library and how do I reference it?

 

Also, where do I need to implement the actual code for the drag and drop?

 

Code is attached...screenshot 1 and 2

 

Any help/advice would be welcome

 

Thank you in advance

Adnan


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>