2016년 4월 8일 금요일

[JQGRID] selectbox code 값 가져오기

jqgrid내에 selectbox 를 사용하다보면 code값이 정상적으로 못가져올때가 있다 

{ name : 'endtype',          index : 'endtype',         width : 100,  align : 'center' , editable : true , edittype : 'select', formatter: 'select', editoptions:{value: '<%=endingTypeList%>'}},

formatter: 'select' 이걸 명시해두지 않는다면 editoptions 값중 계속해서 값만 표시된다 

댓글 없음:

댓글 쓰기