jquery - Display Date with time in JTable -
i'm using jtable(for first time) in mvc application , want display datetime column need display date , time. able display date. here how column looks in jtable definition.
assigneddate: { title: 'assigned date', width: '15%', type: 'date', displayformat: 'mm/dd/yy', create: false, edit: false },
how display time? know need change type , displayformat - have no idea change to.
the following options:
try setting
displayformat: 'dd/mm/yy hh:mm:ss'
have doubts if works because when read jtable documentation mentioning having no time field. never mind give shot.straightforward (but not best) way in case showing date , no editing required convert date string @ server side , show in column
type: 'text'
Comments
Post a Comment