Let's say we have this...
function whatever(node) {
node.collapse(true); Compare these two TCP/IP Management Solutions with :: Clarification of Question by dustydune-ga on 10 Feb 2004 01:12 PST . Not really a turn on, but when and if they give a call back, or write me, http://answers.google.com/answers/threadview?id=300639HOME |
alert("1");
}
How do I call alert("1") AFTER "collapse" has successfully finished collapsing all the nodes? Telemarketer's conversion of customer calls into :: The average on a 30 second TV spot was about 60-65% based on the fact that people have many more questions, and choose to call and ask, then call back http://answers.google.com/answers/threadview/id/42277.htmlHOME |
The collapse event is fired after the collapse annimation ends.
from looking at the api docs for TreeNode, the collapse method does not support a callback function while the expand method does.
No, but it does have a collapse event, e.g.
function whatever(node) { same day couriers:: Request for Question Clarification by crabcakes-ga on 16 Sep 2006 21:36 PDT .. in the middle of 2004, which helped introduce the call back service. http://answers.google.com/answers/threadview/id/765979.htmlHOME | Is it illeagel to call someone?:: If she hangs up, don't call back, that would be the beginnings of know by emailing us at answers-support@google.com with the question ID listed above. http://answers.google.com/answers/threadview/id/72603.htmlHOME |
node.on('collapse', function(node) {
alert('1');
}, node, {single: true});
node.collapse(true);
}
That's an "on" event. I'm looking more for a completed "after" event.
Do you mind going over your extension? I was looking at createCallback, but I must be doing something wrong cause it's not working.
from looking at the api docs for TreeNode, the collapse method does not support a callback function while the expand method does. Sure would be nice to see a little more consistency in method calls from the Ext team...
It should be pretty easy to extend collapse to include the same callback support that expand uses though.
Red Hat's Rough Recovery From CFO Exit
Windows Live Finds a New, Pre-installed Home
|