PDA

View Full Version : Add layers in tree panel child



aragonnette
25 Aug 2010, 2:38 AM
hi
i want to make a layer in tree but i didnt find any good solution for this

when i click add button a window will open and you will enter a layer name. than you click add button it add layer to my tree which is a children of a tree object.

how my button handler must be so it works...




buttons:[{
handler: function(){
'bookmark' : Ext.getCmp('bookmarkName').getValue(),
........
};

}


]