質問

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).

役に立ちましたか?

解決

Okay, so it's really really simple:

The method is:

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

Unfortunately, I had to find this out through trial and error, as it's documented nowhere (I can find).

Hope this helps somebody.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top