From 50db67ddca6e1af058b65cb7f5226adaf2685f06 Mon Sep 17 00:00:00 2001 From: KNKIM Date: Mon, 26 Jul 2021 10:49:17 +0900 Subject: [PATCH] =?UTF-8?q?UI=20=EC=84=A4=EC=A0=95=EA=B0=92=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/js/jsgrid/nlib-jsgrid.js | 26 ++++++++++++++++-------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/src/main/webapp/js/jsgrid/nlib-jsgrid.js b/src/main/webapp/js/jsgrid/nlib-jsgrid.js index 922bcdf4..3dc318ec 100644 --- a/src/main/webapp/js/jsgrid/nlib-jsgrid.js +++ b/src/main/webapp/js/jsgrid/nlib-jsgrid.js @@ -76,7 +76,8 @@ } Grid.prototype = { - width: "auto", + //width: "auto", + width: "100%", /* NLIB */ height: "auto", updateOnResize: true, @@ -124,16 +125,23 @@ sortAscClass: "jsgrid-header-sort jsgrid-header-sort-asc", sortDescClass: "jsgrid-header-sort jsgrid-header-sort-desc", - paging: false, + paging: true, pagerContainer: null, pageIndex: 1, - pageSize: 20, - pageButtonCount: 15, - pagerFormat: "Pages: {first} {prev} {pages} {next} {last}    {pageIndex} of {pageCount}", - pagePrevText: "Prev", - pageNextText: "Next", - pageFirstText: "First", - pageLastText: "Last", + //pageSize: 20, + pageSize: 10, /* NLIB */ + //pageButtonCount: 15, + pageButtonCount: 10, /* NLIB */ + //pagerFormat: "Pages: {first} {prev} {pages} {next} {last}    {pageIndex} of {pageCount}", + pagerFormat: "{first} {prev} {pages} {next} {last}", /* NLIB */ + //pagePrevText: "Prev", + pagePrevText: " < ", /* NLIB */ + //pageNextText: "Next", + pageNextText: " > ", /* NLIB */ + //pageFirstText: "First", + pageFirstText: " << ", /* NLIB */ + //pageLastText: "Last", + pageLastText: " >> ", /* NLIB */ pageNavigatorNextText: "...", pageNavigatorPrevText: "...", pagerContainerClass: "jsgrid-pager-container",