Thanks for the reply!
That's actually what I do now when the "checkedFilter" is active and a checkbox is unchecked. Actually, I don't use the check event, but I use:
nodeData = schemaTree.dataItem(
So I also use detach() in stead of hide(). I don't know what's better? Is there any preference what to use?
The problem is when I uncheck the "checkedFilter", how do I get those hidden entries back without applying the filter again?
On the other hand, I talked to my client about this, and he doesn't really mind that it takes so long, but then he would like to see a progress indicator, so he knows that something is happening.
I tried this code right before I set the filters:
where $schemaTree is the <div> element (jquery object) of the treeview in question.
But no indicator is shown. The browser seems to be stuck (not responding) during the whole time the treeview is redrawn.
How can I show a progress indicator during that time?