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

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -