ListView: no more reorder property?
-
6. března 2012 12:05
Hello guys.
The migration docs say that the reorder property has been replaced by a Reorderable property (page 206 of the doc). However, it seems like the control no longer exposes that property. That being the case, does that mean that we can no longer reorder items by drag-n-drop when we use this control?
thanks.
Luis Abreu
Všechny reakce
-
6. března 2012 18:35
Yeah that's weird. The code is still there and so is the private property (_reorderable), but the public property is AWOL. I also don't see a breaking change notification about them removing the property.
What happens when you set listView._reorderable = true;?
Senior Dev for Windows Phone Services
-
7. března 2012 22:56I tried setting listView._reorderable to true but nothing seems to happen. In the developer preview this enabled a (very buggy) drag and drop reordering. Drag and drop reordering is a requiered use case for some of the apps I'm building.
-
8. března 2012 3:26Moderátor
I tried setting listView._reorderable to true but nothing seems to happen. In the developer preview this enabled a (very buggy) drag and drop reordering. Drag and drop reordering is a requiered use case for some of the apps I'm building.
I think you need to set listView.winControl._reorderable=true; where listView is the HTML element. Based on my test it works.
Allen Chen [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Upravený Allen Chen - MSFTModerator 8. března 2012 3:27
-
8. března 2012 8:22
Hello Allen.
but aren't fields started with _ "private" by convention? If the "public" property was removed, does that mean that reordering is no longer officially supported by the library??
thanks
Luis Abreu
-
8. března 2012 15:00Moderátor
Hi Luis,
I am asking the Product team about this.
I will update the thread once I know more.
-Jeff
Jeff Sanders (MSFT)
- Navržen jako odpověď Jeff SandersMicrosoft Employee, Moderator 8. března 2012 15:02
- Zrušeno navržení jako odpověď Jeff SandersMicrosoft Employee, Moderator 9. března 2012 12:42
-
9. března 2012 12:42Moderátor
Hi Luis,
Reorder using dragging is not supported. If you need to reorder items in your ListView we recommend alternate schemes such as up and down arrows wired in your application that will allow a selected item to be moved in the list.
-Jeff
Jeff Sanders (MSFT)
- Navržen jako odpověď Jeff SandersMicrosoft Employee, Moderator 9. března 2012 12:42
- Označen jako odpověď Jeff SandersMicrosoft Employee, Moderator 9. března 2012 12:42
-
10. března 2012 10:56Thanks guys.
Luis Abreu
-
28. března 2012 11:12
Hi Luis,
Reorder using dragging is not supported. If you need to reorder items in your ListView we recommend alternate schemes such as up and down arrows wired in your application that will allow a selected item to be moved in the list.
-Jeff
Jeff Sanders (MSFT)
Hi Jeff,
Did you mean that reorder using dragging won't be supported in Win8 library final version?
I am wondering if I could wait the next release of Win8 library, or have to implement drag-n-drop support by myself.
-
28. března 2012 12:17Moderátor
Hi Todd,
Unfortunately I cannot speculate on what may or may not be in future releases.
-Jeff
Jeff Sanders (MSFT)
-
31. července 2012 10:32
Hi
drag and drop with reorder in the same listview still not supported yet in the last version of windows 8 ??
thanks
-
31. července 2012 12:15Moderátor
Sorry, it still is not supported.Jeff Sanders (MSFT)
- Označen jako odpověď Jeff SandersMicrosoft Employee, Moderator 31. července 2012 12:15
-
23. srpna 2012 11:20
Will you fix this problem in nearest future? If yes, when it will be fixed?Sorry, it still is not supported.
Jeff Sanders (MSFT)