{"action":"opened","issue":{"url":"https://api.github.com/repos/axisj/axisj/issues/808","repository_url":"https://api.github.com/repos/axisj/axisj","labels_url":"https://api.github.com/repos/axisj/axisj/issues/808/labels{/name}","comments_url":"https://api.github.com/repos/axisj/axisj/issues/808/comments","events_url":"https://api.github.com/repos/axisj/axisj/issues/808/events","html_url":"https://github.com/axisj/axisj/issues/808","id":131361079,"number":808,"title":"페이징이 안 되는데 왜 안 되는지 모르겠습니다.","user":{"login":"btwns7","id":6446916,"avatar_url":"https://avatars.githubusercontent.com/u/6446916?v=3","gravatar_id":"","url":"https://api.github.com/users/btwns7","html_url":"https://github.com/btwns7","followers_url":"https://api.github.com/users/btwns7/followers","following_url":"https://api.github.com/users/btwns7/following{/other_user}","gists_url":"https://api.github.com/users/btwns7/gists{/gist_id}","starred_url":"https://api.github.com/users/btwns7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btwns7/subscriptions","organizations_url":"https://api.github.com/users/btwns7/orgs","repos_url":"https://api.github.com/users/btwns7/repos","events_url":"https://api.github.com/users/btwns7/events{/privacy}","received_events_url":"https://api.github.com/users/btwns7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-04T14:18:42Z","updated_at":"2016-02-04T14:18:42Z","closed_at":null,"body":"소스는 아래와 같습니다.\r\nAXGrid.js를 조금 수정해서 페이지네이게이션은 나오게 했는데, 실제 페이징이 안 되는 것 같습니다.\r\n\r\n\r\ncss, js 불러오는 부분.\r\n`\r\n    <\\link rel=\"stylesheet\" type=\"text/css\" href=\"${pageContext.request.contextPath}/resources/axisj/ui/sh_aml/AXJ.css\" />\r\n    <\\link rel=\"stylesheet\" type=\"text/css\" href=\"${pageContext.request.contextPath}/resources/axisj/ui/sh_aml/AXGrid.css\" />\r\n    <\\link rel=\"stylesheet\" type=\"text/css\" href=\"${pageContext.request.contextPath}/resources/axisj/ui/sh_aml/AXButton.css\" />\r\n    <\\link rel=\"stylesheet\" type=\"text/css\" href=\"${pageContext.request.contextPath}/resources/axisj/ui/sh_aml/AXInput.css\" />\r\n    <\\link rel=\"stylesheet\" type=\"text/css\" href=\"${pageContext.request.contextPath}/resources/axisj/ui/sh_aml/AXSelect.css\" />\r\n    \r\n\r\n    <script type=\"text/javascript\" src=\"${pageContext.request.contextPath}/resources/axisj/dist/AXJ.min.js\"></script>\r\n    <script type=\"text/javascript\" src=\"${pageContext.request.contextPath}/resources/axisj/lib/AXGrid.js\"></script>\r\n    <script type=\"text/javascript\" src=\"${pageContext.request.contextPath}/resources/axisj/lib/AXInput.js\"></script>\r\n    <script type=\"text/javascript\" src=\"${pageContext.request.contextPath}/resources/axisj/lib/AXSelect.js\"></script>`\r\n\r\n\r\n자바스크립트\r\n`    var gridObj = new AXGrid();\r\n    $(document).ready(function() {  \r\n        $(\"#btn_search\").on(\"click\", function() {\r\n            gridObj.reloadList();\r\n        });\r\n        \r\n        fnObj.initGrid();   // 그리드 초기화\r\n    });\r\n    \r\n    var fnObj = {\r\n            initGrid: function() {\r\n\r\n                gridObj.setConfig({\r\n                    targetID : \"prgrmAccessHistTable\",\r\n                    theme : \"AXGrid\",\r\n                    fitToWidth:true,\r\n                    colGroup : [\r\n                        {key:\"no\",                  label:\"no\",         width:\"40\",  align:\"center\", formatter:\"checkbox\" },\r\n                        {key:\"EMP_NM\",              label:\"직원명\",     width:\"70\"                                        },\r\n                        {key:\"PRGRM_NM\",            label:\"프로그램명\", width:\"100\", align:\"center\"                       },\r\n                        {key:\"PRGRM_ARGS\",          label:\"변수\",       width:\"300\", align:\"left\"                         },\r\n                        {key:\"PRGRM_ACCESS_DTTM\",   label:\"접근시간\",   width:\"100\", align:\"center\", formatter:\"text\"     },\r\n                        {key:\"USER_IP\",             label:\"사용자 IP\",  width:\"100\", align:\"center\", formatter:\"text\"     }\r\n                    ],\r\n                    page: {\r\n                        paging: true,\r\n                        pageNo: 1,\r\n                        pageSize: 20\r\n                    }\r\n                });\r\n\r\n                gridObj.setList({\r\n                    ajaxUrl : ctx + \"/sys/sys5200/getPrgrmAccessHist.do\",\r\n                    ajaxPars: $('#search_form').formToJson(),\r\n                    onLoad  : function() {\r\n\r\n                    }\r\n                });\r\n            },\r\n            getCheckedList: function(){\r\n                var checkedList = gridObj.getCheckedList(0);// colSeq\r\n                alert(Object.toJSON(checkedList));\r\n            },\r\n            emptyList: function(){\r\n                gridObj.setList({\r\n                    ajaxUrl: ctx + \"/sys/sys5200/getPrgrmAccessHist.do\",\r\n                    ajaxPars:\"empty=true\",\r\n                    onLoad:function(){\r\n                        // 로드 후...\r\n                    }\r\n                });\r\n\r\n                //gridObj.setDataSet({price:0, amount:0});\r\n            },\r\n            reloadList: function() {\r\n                gridObj.reloadList();\r\n            }\r\n        };\r\n`\r\n\r\nhtml body\r\n`\r\n<body>\r\n\r\n    <!-----/ Search ----->\r\n    <form id=\"search_form\" role=\"form\" data-toggle=\"validator\">\r\n        <div class=\"searchWrap\">\r\n            <table class=\"w100\">\r\n                <tr>\r\n                    <td>\r\n                        <table>\r\n                            <tr>\r\n                                <th>직원명</th>\r\n                                <td><input type=\"text\" class=\"searchText\" name=\"EMP_NM\" /></td>\r\n                                <th>프로그램명</th>\r\n                                <td><input type=\"text\" class=\"searchText\" name=\"PRGRM_NM\" /></td>\r\n                                <th>날짜</th>\r\n                                <td><input type=\"text\" name=\"START_PRGRM_ACCESS_DTTM\" id=\"dateObjSt\" value=\"\"\r\n                                    class=\"date\" /> <a href=\"#none\" name=\"btn_cal\"><img\r\n                                        src=\"${pageContext.request.contextPath}/resources/images/common/btn_calendar.gif\"\r\n                                        alt=\"달력\" /></a> ~ <input type=\"text\" name=\"END_PRGRM_ACCESS_DTTM\" id=\"dateObjEd\"\r\n                                    value=\"\" class=\"date\" /> <a href=\"#none\" name=\"btn_cal\"><img\r\n                                        src=\"${pageContext.request.contextPath}/resources/images/common/btn_calendar.gif\"\r\n                                        alt=\"달력\" /></a></td>\r\n                                <th>IP</th>\r\n                                <td><input type=\"text\" class=\"searchText\" name=\"USER_IP\" /></td>\r\n                            </tr>\r\n                        </table>\r\n                    </td>\r\n                    <td class=\"middleRight\"><a id=\"btn_search\" href=\"#\" class=\"btn search\" >조회</a></td>\r\n                </tr>\r\n            </table>\r\n        </div>\r\n    </form>\r\n    <!-----// Search ----->\r\n    <br />\r\n    <div id=\"prgrmAccessHistTable\"></div>\r\n</body>`\r\n\r\n![image](https://cloud.githubusercontent.com/assets/6446916/12817474/84a8baca-cb95-11e5-8c98-3090bceed8b6.png)\r\n"}}