Its there an onbeforeshow event or something similar that alows me to execute a function
before a menu shows , when a user clicks on a button that shows a menu...
how do I make a function execute before the menu is showed?
before a menu shows , when a user clicks on a button that shows a menu...
how do I make a function execute before the menu is showed?
__________________
ExtJsExtender Controls
http://www.extendersamples.qsh.eu
My Blog
http://rodiniz.blogspot.com
ExtJsExtender Controls
http://www.extendersamples.qsh.eu
My Blog
http://rodiniz.blogspot.com

|
#2
|
|
Yes. I don't think it's doc'd yet, but if you look at Menu.js, this.events is right at the top - beforeshow is one of the events.
__________________
Tim Ryan - Ext JS Support Team Read BEFORE posting a question / posting a Bug Use Google to Search - API / Forum API Doc (3.x | 2.x | 1.x) / FAQ / Wiki / Tutorials / 1.x->2.0 Migration Guide ![]() |
本文探讨了在 ExtJS 框架中如何利用菜单的前置显示事件 (beforeshow) 来执行特定函数。此功能允许开发者在菜单展示前进行自定义操作,例如更新菜单项的状态或数据。
2359

被折叠的 条评论
为什么被折叠?



