#2810 closed enhancement (invalid)
[treeview] async support for complete refresh
Reported by: | joern | Owned by: | joern |
---|---|---|---|
Priority: | major | Milestone: | 1.2.4 |
Component: | plugin | Version: | 1.2.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description (last modified by )
From the mailing list:
We're still having problems implementing a 'refresh' button for a treeview tree. We need to be able to re-initialize the tree, clearing out the current version completely, and reloading with data fresh from the server.
we're clearing out the current tree with: $('#openExistingTree').empty();
and then re-initializing with $('#openExistingTree').treeview({ url: "CalcBldrOpenExisting.ashx" });
Each time we hit 'refresh', we're getting a duplicate set of 'hitarea' divs
The initial json returned is:
"[{'text': 'Private Drafts','id': 3, 'hasChildren': true},{'text': 'Shared Drafts','id': 4, 'hasChildren': true},{'text': 'Published Calculations','id': 5, 'hasChildren': true}]"
Change History (3)
comment:1 Changed 15 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 15 years ago by
comment:3 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker, http://dev.jqueryui.com .
Solution proposed on mailing list: http://groups.google.com/group/jquery-en/browse_thread/thread/c858c4f0ae3b50f5/5d6f8ba43572ce52?#5d6f8ba43572ce52
"clear everything and recreate the root element"