Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Question about Persistent Reorderable TreeGrid showcase example

    Hi, I have implemented the Persistent Reorderable TreeGrid example in my solution and I noticed that it didnt work when dragging nodes from one folder to another.
    When looking alittle closer I found out that nodes dragged to a new folder were not added to the update queue and was only updated by the default update when being re-parented.
    This means that those nodes are just added to the new folder with their old position number from the previous folder, so if you drag a node into a new folder and try to drop it in a specific place in the order it will pop up in it's "old" order position instead.

    So I guess my question is: Are you aware of this issue, and do you have any tips on how to fix it?
    This issue is reproducible in the showcase.

    #2
    Just to let you know, a developer has been assigned to look at this. We will post back on this thread when we have investigated.

    Comment


      #3
      It turns out that example was only written to demonstrate reordering of nodes within a parent, as the description implies - "... drag the selection to a new position among their siblings" - although it could perhaps have been more clearly stated.

      In any case, we have now enhanced the sample to show how the same thing can be achieved when dragging from one folder to another, or from multiple source folders, or dragging a combination of items that are new to the target folder and items that are merely being reordered within that folder. The new sample will be in 11.0p / 6.0p builds and greater as of tomorrow, December 15, and the Showcase deployed on the website will also contain the enhancements as of tomorrow

      Comment


        #4
        That is awesome, thank you.
        I will check it out tomorrow.

        Comment

        Working...
        X