function DateDemo(){
var d, s ;
d = new Date();
s += (d.getMonth() + 1) + "/";
s += d.getDate() + "/";
s += d.getYear();
return(s);
}
...
{
field: 'CreateTime', title: DateDemo(), width: 120, hidden: false
},
获取当前时间直接用程序多好
function DateDemo(){
var d, s ;
d = new Date();
s += (d.getMonth() + 1) + "/";
s += d.getDate() + "/";
s += d.getYear();
return(s);
}