[JQGRID] 행 선택 시 원하는 셀의 css 변경하기
우선 css를 하나 선언해줍니다. 저는 간단하기 background 컬러만 바꿔볼꺼에요. 12345.input_newColor { background-color : #ffff99;}cs 이제 jQgrid 선언 부분에 행이 선택되었을 때 셀이 어떻게 바뀌는지 설정을할 차례입니다. 1234567891011121314// 스크립트 맨 위에var lastsel; // 선언해줍니다. onSelectRow : function(rowID, iRow, iCol, e) { // 행선택 시 자동으로 수정모드가 되게 바뀌게해줍니다. if(rowID && rowID!== lastsel){ $('#table').jqGrid('restoreRow', lastsel); $('#table').jqGrid('editRow',rowID..
JQUERY
2017. 8. 3. 15:37