[jQuery] jqgrid에 데이타가 안나올때
jsonReader:{repeatitems:false},
함 넣어보세요.
나올지도 몰라요.
$("#jqgrid").jqGrid({함 넣어보세요.
나올지도 몰라요.
url:'json주소',
mtype: 'GET',
datatype: "json",
jsonReader:{repeatitems:false},
colNames:['아이디','암호', '이름', '핸드폰','전화','이메일','직책','regdate','moddate','reguser'],
colModel:[
{name:'userid',index:'userid', width:55},
{name:'userpw',index:'userpw', width:90},
{name:'username',index:'username asc, userpw', width:100},
{name:'hp',index:'hp', width:100, align:"right"},
{name:'phone',index:'phone', width:100, align:"right"},
{name:'email',index:'email', width:100,align:"right"},
{name:'duty',index:'duty', width:150, sortable:false},
{name:'regdate',index:'regdate', width:150, sortable:false},
{name:'moddate',index:'moddate', width:150, sortable:false},
{name:'reguser',index:'reguser', width:150, sortable:false}
],