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
Comments
Post a Comment