extjs radiogroup的用法

阅读更多
[align=left]
new Ext.form.RadioGroup({
										fieldLabel : "类型",
										items : [
												new Ext.form.Radio({
															name : "lType",
															inputValue : "1",
															boxLabel : "类型A",
															listeners : {
																check : radiochange
															}
														}),
												new Ext.form.Radio({
															name : "inBillType",
															inputValue : "2",
															boxLabel : "类型B",
															listeners : {
																check : radiochange
															}
														}),
												new Ext.form.Radio({
															name : "inBillType",
															inputValue : "3",
															boxLabel : "类型C",
															listeners : {
																check : radiochange
															}
														}),
												new Ext.form.Radio({
															name : "inBillType",
															inputValue : "4",
															boxLabel : "类型D",
															listeners : {
																check : radiochange
															}
														})
[/align]
另:radiogroup与checkboxgroup在formpanel中时,form.load不能自动赋值,是extjs的bug

你可能感兴趣的:(EXT,C,C++,C#,Blog)