0

This seems like a simple question, but I'm not how to go about it.

I'm using ludo's great jquery treetable plugin, however, I want to be able destroy it on call.

Does anyone know how to destroy an instance of this (at least on the javascript side?)

Here are some examples (I'm using the basic expandable option).

4

1 回答 1

5

好的,所以它真的很简单:

方法是:

$('.element').treetable('destroy');

不幸的是,我不得不通过反复试验找到这一点,因为它在任何地方都没有记录(我可以找到)。

希望这可以帮助某人。

于 2013-06-14T14:09:34.310 回答