Announcement

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

    tilegrid setCanReorderTiles after load

    I have a tilegrid which which when initially loaded shouldn't allow reordering. When a button is clicked reordering should then be allowed. I've tried calling:
    Code:
    setCanReorderTiles(true)
    after the tiles have loaded, but it appears to not do anything. Does some additional method need to be called? Redraw doesn't seem to do it.

    #2
    I found a work around.

    The tile are added using adddata. If during that process the reorder is set to true, and then set to false when complete. The reordering will not happen initially. If reorder is set to true after that then it works properly. I'm assuming the tiles need to be created with the reorder property true in order for reorder to be turned on and off.

    Comment

    Working...
    X