Extjs4.0 datefield 问题
请问在已经选了时间后,怎么去除已选定的时间?
------解决方案--------------------
JScript code<html><head><link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all.css"><script type="text/javascript" src="extjs/bootstrap.js"></script><script type='text/javascript'>Ext.onReady(function(){ Ext.create('Ext.form.Panel', { title : 'Date field', width : 400, height : 300, renderTo : Ext.getBody(), items : [{ id : 'testdate', xtype : 'datefield', fieldLabel : 'date', name : 'today' }], buttons : [{ text : 'Reset', handler : function(){ this.up('form').getForm().reset(); } },{ text : 'clear', handler : function(){ Ext.getCmp('testdate').reset(); } }] });});</script></head><body></body></html>
查询谷 - www.chaxungu.com
Extjs4.0 datefield 有关问题
编辑:chaxungu时间:2022-10-02 23:16:19分类:web开发