rkues
5 Jul 2007, 4:01 PM
Hi all,
I'm kinda new with ExtJs (let's say, 12 hours? lol) and here's my first doubt: how can I manage existent layouts?
Example:
Simple.init().mainLayout is my layout "object" (?), that has a 'east' region. Everything works fine, but this 'east' region must be closable and, if the user wants, he just clicks some button and then 'east' gets restored. Before "mainLayout.restoreState();" I added "mainLayout.getRegion('east').hide();" so it starts "hidden". How can I call a "show()" function from a <a href="">, for example?
Thanks for your time,
Richard.
PS: I'm kinda new with JS-OO, too (maybe a couple of days and I'll get exorcised :D ). And sorry for my bad english.
I'm kinda new with ExtJs (let's say, 12 hours? lol) and here's my first doubt: how can I manage existent layouts?
Example:
Simple.init().mainLayout is my layout "object" (?), that has a 'east' region. Everything works fine, but this 'east' region must be closable and, if the user wants, he just clicks some button and then 'east' gets restored. Before "mainLayout.restoreState();" I added "mainLayout.getRegion('east').hide();" so it starts "hidden". How can I call a "show()" function from a <a href="">, for example?
Thanks for your time,
Richard.
PS: I'm kinda new with JS-OO, too (maybe a couple of days and I'll get exorcised :D ). And sorry for my bad english.