TreeNode.ensureVisible - Ext JS

524 단어 ext
The function "ensureVisible" uses "expandPath" which takes a callback to call when the necessary expansions have been completed. "ensureVisible" should also offer the callback.
I'm using:
Ext.override(Ext.tree.TreeNode, {
    ensureVisible : function(callback){
        this.getOwnerTree().expandPath(this.getPath(), false, callback);
    }
});

Can we have that small tweak Please?
  #
2  
03-13-2007, 07:02 AM
It's in Rev 3.

좋은 웹페이지 즐겨찾기