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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -