开发者

Retrieve tree's states after load

I updating my tree and to synchronize this with my J开发者_如何学GoSON i using methods :

mystore.sync(); mystore.load();

If i don't using the second method, the tree don't show modifications ! With load method, tree collapse and the updates are effectives. But tree collapse even though before it was expand . How to restore state before load ??

Thanks a lot :)


You can send list of expanded items to server, and generate your json with 'expanded: ture' according to expanded list.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜