jqGrid 사용법
jqGrid는 데이터 테이블을 쉽게 구현할 수 있도록 도와주는 jQuery 플러그인이다. jqGrid에 대해서 알아보자 1. 선언$(function () { $("#grid").jqGrid({ url: '/data/getData', // 데이터를 가져올 URL datatype: 'json', // 데이터 타입 (json, xml, local 등) mtype: 'GET', // 요청 방식 (GET, POST) colNames: ['ID', 'Name', 'Age', 'City'], // 컬럼 이름 colModel: [ // 컬럼 모델 정의 { name: 'id', ind..
2024. 12. 4.