javascript - Extjs rowediting change time format after save -
this code
{ text: "entrance time", dataindex: "entrance_time", id: "cl_absence_entrance_time", editor: { xtype: "timefield", format: "h:i" }, format: "h:i", width: 200 }
but result
tue jan 01 2008 07:00:00 gmt+0700 (wit)
how change become 07:00 ? please me. thank you
you can set renderer convert date or use datecolumn:
{ xtype: 'datecolumn', format : "h:i" // ... }
Comments
Post a Comment