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:

  1. 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.

  2. straightforward (but not best) way in case showing date , no editing required convert date string @ server side , show in columntype: 'text'


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -