1.orderInfoForm.getForm().findField('startDate').setValue('2010-1-1');
2.Ext.getCmp('order_TemplateName').setValue(result.orderInfo.tblQuotationTemplate.text);
本文介绍了如何使用 ExtJS 框架中的 orderInfoForm 设置表单字段的值。具体包括设置日期字段 'startDate' 的值为 '2010-1-1' 和设置下拉框 'order_TemplateName' 的值为 tblQuotationTemplate.text。
1.orderInfoForm.getForm().findField('startDate').setValue('2010-1-1');
2.Ext.getCmp('order_TemplateName').setValue(result.orderInfo.tblQuotationTemplate.text);

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