Reordering items in a GridView with a VariableSizedWrapGrid

Answered Reordering items in a GridView with a VariableSizedWrapGrid

  • Sunday, April 01, 2012 7:01 PM
     
     

    Hello MSDN forums,

    I'm trying to do something similar to this http://blogs.u2u.be/diederik/post/2012/03/07/Databinding-to-the-VariableSizedWrapGrid-in-Windows-8-Metro.aspx in which I can also reorder the items.

    I've tried setting the GridView's AllowDrop, CanDragItems and CanReorderItems to true, which allows me to drag the items but I can't drop them. 

    Everything works fine if the GridView's ItemsPanelTemplate is set to a regular WrapGrid instead of a VariableSIzedWrapGrid. Is there any issue with the VariableSizedWrapGrid in the current build?

    Thanks!
    Roberto


    Roberto Sonnino - http://virtualdreams.com.br/blog

All Replies

  • Monday, April 02, 2012 6:33 PM
    Moderator
     
     Answered
    Hi Roberto - we've had others report this and unfortunately, this scenario is not supported for VSWG in Windows 8.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator

  • Thursday, April 19, 2012 5:21 PM
     
     

    Matt,
        Is this something that is going to be supported in the future?  Or is there a way we can extend the control to add support for it?  In otherwords, what's missing from VariableSizedWrapGrid, that WrapGrid has that allows the reordering to occur?

    Thanks,

    -Jim

  • Thursday, April 19, 2012 8:11 PM
    Moderator
     
     
    What's missing is some internal interface implementations.  You might be able to roll your own.  I don't know and can't say if it will be implemented in the future.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator

  • Saturday, August 04, 2012 8:21 AM
     
     

    Hi Matt,

    will be supported items reorder in VariableSizedWrapGrid in final release?

  • Tuesday, February 05, 2013 12:09 PM
     
     
    we posted the sample implementation for this scenario here: http://www.codeproject.com/Articles/536519/Extending-GridView-with-Drag-and-Drop-for-Grouping

    notacat