jqGrid가 직렬화 된 datetime json을 변환 할 수없는 이유는 무엇입니까?
안녕, Everythink있는 jqGrid에 날짜가없는 완벽한 :이 convertion의 문제를 해결하는 방법 S?
jqGrid가 직렬화 된 datetime json을 변환 할 수없는 이유는 무엇입니까?
안녕, Everythink있는 jqGrid에 날짜가없는 완벽한 :이 convertion의 문제를 해결하는 방법 S?
당신은 당신의 ColModel
{name: 'colNmae', index: 'ColName', formatoptions: { srcformat: "ISO8601Long", newformat: "m/d/Y h:i A" }}
이 시도 할 수 있습니다 또는이
{name: 'colNmae', index: 'ColName', sorttype: 'date', formatter: 'date', datefmt: 'd-M-Y'},
당신은 당신의 colModel 날짜에 포맷터를 설정해야합니다 및있는 jqGrid 자동으로 마이크로 소프트의 날짜 형식을 감지합니다.
srcformat은 설정할 필요가 없지만 newformat이 될 수 있습니다.
이 시도 :
colModel : [
...
{name:'Mydate', ...formatter: 'date', formatoptions:{newformat 'm/d/Y'}, ...},
...
]
이 열 속성이 나
formatter: "date", formatoptions: { newformat: "ISO8601Long" }
근무