Grid中显示格式:
<ext:Column Header="报价日期" DataIndex="报价日期" Width="80" > <Renderer Fn="Ext.util.Format.dateRenderer('Y-m-d ')" /> </ext:Column>效果:
date控件的默认值
this.dfenddate.SetValue(DateTime.Now .ToShortDateString());Grid中显示格式:
<ext:Column Header="报价日期" DataIndex="报价日期" Width="80" > <Renderer Fn="Ext.util.Format.dateRenderer('Y-m-d ')" /> </ext:Column>效果:
date控件的默认值
this.dfenddate.SetValue(DateTime.Now .ToShortDateString());