locked
[WinJS][UWP] - Listview Item Reorderable not working in windows phone 10 RRS feed

  • Question

  • Hi ,

    I am working on UWP app with WinJS platform. I am working on Item Reorder feature in ListView. It is working fine in Windows 10 (Desktop and Tablet) but it is not working in Windows 10 Phone(Using windows phone 10 Preview as official version has not launched yet). When i try to hold any item in ListView , it eventually drops back and i'm not able to drag. Does anyone have any workaround here which can help.

    I'm using code snippet below:

       <div id="listView"
                 class="win-selectionstylefilled"
                 data-win-control="WinJS.UI.ListView"
                 data-win-options="{
                    itemDataSource: myData.dataSource,
                    selectionMode: 'none',
                    itemTemplate: smallListIconTextTemplate,
                    itemsReorderable : true,
                    layout: { type: WinJS.UI.ListLayout }
                }">
            </div>


    Thanks


    • Edited by Krunal Parekh Friday, January 8, 2016 7:49 AM subject
    Thursday, January 7, 2016 10:15 AM

Answers

  • Hello Pushpendra Mahawar,

    I was able to reproduce the issue on Windows 10 mobile. This is a known issue.

    Please see: https://github.com/winjs/winjs/issues/774 & https://github.com/winjs/winjs/issues/1062

    With Regards,

    Krunal Parekh



    Thanks MSDN Community Support Please remember to Mark as Answer the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    • Proposed as answer by Krunal Parekh Monday, January 11, 2016 1:30 AM
    • Marked as answer by Krunal Parekh Thursday, January 21, 2016 10:45 AM
    Friday, January 8, 2016 7:32 AM

All replies

  • Hello Pushpendra Mahawar,

    I was able to reproduce the issue on Windows 10 mobile. This is a known issue.

    Please see: https://github.com/winjs/winjs/issues/774 & https://github.com/winjs/winjs/issues/1062

    With Regards,

    Krunal Parekh



    Thanks MSDN Community Support Please remember to Mark as Answer the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    • Proposed as answer by Krunal Parekh Monday, January 11, 2016 1:30 AM
    • Marked as answer by Krunal Parekh Thursday, January 21, 2016 10:45 AM
    Friday, January 8, 2016 7:32 AM
  • Hello Kunal Parekh,

    Thanks for the information. I was suggested a following library for this on a different thread.

    Please check: https://github.com/bevacqua/dragula

    Regards,
    Pushpendra Mahawar

    Friday, January 8, 2016 12:29 PM