Closed sflament closed 6 years ago
we do now have a drag/drop snippet (actually 2) - in case that might help?
@jlooper I am also interested on a d&d tutorial. the existing snippets deal with moving around images.
what we are asking here is the ability to drag a row from one ListView and drop it into another, or to rearrange rows on a ListView
Hi, take a look at the NativeScript-UI plugin. It has just that functionality as I remember.
Hello Jen, to rearrange items into one list is possible with radlistview feature. But i still waiting for a solution for moving items between two list in a same page.
Oh! Fancy! I will look into it
Yeah, after I wrote my comment I realized that RadListView has the reorder feature already. What we are missing is a way to drag & drop between ListViews or RadListViews.
Hello Jen, I still wait for a tutorial showing how to deal with a D&D between listviews or radlistviews, have you heard of something ?
Better if with Typescript and angular. I'm not tough enough to succeed in this by myself.
hi, I'm not either :D - let me raise this within our community, maybe someone could do something in Playground! Stay tuned!
Here's one way to drag and drop in {N} https://play.nativescript.org/?template=play-js&id=HLY5Uh
Thanks @shiv19 ! added to latest snack playground page!
Thanks @jlooper and @shiv19 ! You give us a good starting point.
The playground doesn't work for me :(
@shiv19 @jlooper looks like the code in home-page.xml has been replaced with some default template. Can you please add sample code back?
@phatakrajan add &v=1 to the end of the link
I would be very happy in viewing a tutorial showing how to perform drag and drop items between two listtview on the same screen. I did not succeed, nor with Pan Gesture and classic Listview, nor with RadListview.
Stephane