属性: disabled : true, 初始化时为禁用
Ext.getCmp('updateb').disable(); //禁用按钮
Ext.getCmp('deleteb').enable(); //恢复可用
2:面板
Ext.getCmp('rulepanel').setVisible(true); //使面板可见
Ext.getCmp('rulepanel').setVisible(false); //使面板不可见
Ext.getCmp('rulepanel').collapse(true); //使rulepanel收缩
Ext.getCmp('rulepanel').expand(true); //使rulepanel展开
3:checkbox
属性:inputValue 类似其value
layoutOnTabChange:true 解决tabs加载frompanel使用column布局的问题
ERROR 144 (HY000): Table './snort/acid_event' is marked as crashed and last (automatic?) repair failed
./myisamchk -r -o /data0/mysql/3306/data/it_shanhai/dede_arccache.MYI
修复mysql
Ext.getCmp('updateb').disable(); //禁用按钮
Ext.getCmp('deleteb').enable(); //恢复可用
2:面板
Ext.getCmp('rulepanel').setVisible(true); //使面板可见
Ext.getCmp('rulepanel').setVisible(false); //使面板不可见
Ext.getCmp('rulepanel').collapse(true); //使rulepanel收缩
Ext.getCmp('rulepanel').expand(true); //使rulepanel展开
3:checkbox
属性:inputValue 类似其value
layoutOnTabChange:true 解决tabs加载frompanel使用column布局的问题
ERROR 144 (HY000): Table './snort/acid_event' is marked as crashed and last (automatic?) repair failed
./myisamchk -r -o /data0/mysql/3306/data/it_shanhai/dede_arccache.MYI
修复mysql
ExtJS 控件操作
本文介绍了如何使用ExtJS进行控件操作,包括按钮的禁用与启用、面板的显示隐藏及收缩展开等,并提到了一些关于checkbox的配置选项以及解决tab面板加载时布局问题的方法。
1万+

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



