function formatterdate(val, row) { var date = new Date(val); return date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate(); }
<th field="KSSJ" width="50">开始时间</th><#-- formatter=formatterdate -->