jquery - jqgrid shows "Object" for SQL time datatype returned thru json query -


i'm having issue formatting time output sql server. data retrieved in json , "formatter" , "formatoptions" used populate date , time in jqgrid below:

 {             key: false, name: 'date_rencontre', index: 'date_rencontre', align: 'right', width: 90,             formatter: 'date', formatoptions: { srcformat: "iso8601long", newformat: "d/m/y" }         },         {             key: false, name: 'heure_debut', index: 'heure_debut', align: 'right', width: 100,             formatter: 'date', formatoptions: { srcformat: "iso8601long", newformat: "hh:mm" }         },         {             key: false, name: 'heure_fin', index: 'heure_fin', align: 'right', width: 100,             formatter: 'date', formatoptions: { srcformat: "iso8601long", newformat: "hh:mm" }         }, 

the date part working fine time part shows "[object object]". i've tried several options , combinations of them returning "object" or "nan"

see below source data , jqgrid displayenter image description here

enter image description here


Comments

Popular posts from this blog

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -