fix : 페이징 오류 수정

main
이범준 2 years ago
parent dfe3c563df
commit a6a50a8cd9

@ -69,7 +69,7 @@ Date Author Description
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -92,7 +92,7 @@ Date Author Description
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -99,7 +99,7 @@ Date Author Description
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -122,7 +122,7 @@ Date Author Description
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -92,7 +92,7 @@ Date Author Description
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -121,7 +121,7 @@ Date Author Description
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
ARR_TAP_GRID[0].clear(); ARR_TAP_GRID[0].clear();
} }
ARR_TAP_GRID[0].appendRows(data.contents); ARR_TAP_GRID[0].appendRows(data.contents);
@ -152,7 +152,7 @@ Date Author Description
render$2$List(obj.data); render$2$List(obj.data);
if($2$Control._paginationInfo.pagingType != "scroll"){ if($2$Control._paginationInfo.paging && $2$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $2$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $2$Control._paginationInfo.fetchSize){
start = $2$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $2$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -170,7 +170,7 @@ Date Author Description
function render$2$List(data) { function render$2$List(data) {
if($2$Control._paginationInfo.pagingType != "scroll"){ if($2$Control._paginationInfo.paging && $2$Control._paginationInfo.pagingType == "nav"){
ARR_TAP_GRID[1].clear(); ARR_TAP_GRID[1].clear();
} }
ARR_TAP_GRID[1].appendRows(data.contents); ARR_TAP_GRID[1].appendRows(data.contents);

@ -872,31 +872,31 @@ Date Author Description
} }
function render$1$List(data) { function render$1$List(data) {
if($1$Control._paginationInfo.pagingType != "scroll"){ if($1$Control._paginationInfo.paging && $1$Control._paginationInfo.pagingType == "nav"){
ARR_TAP_GRID[0].clear(); ARR_TAP_GRID[0].clear();
} }
ARR_TAP_GRID[0].appendRows(data.contents); ARR_TAP_GRID[0].appendRows(data.contents);
} }
function render$2$List(data) { function render$2$List(data) {
if($2$Control._paginationInfo.pagingType != "scroll"){ if($2$Control._paginationInfo.paging && $2$Control._paginationInfo.pagingType == "nav"){
ARR_TAP_GRID[1].clear(); ARR_TAP_GRID[1].clear();
} }
ARR_TAP_GRID[1].appendRows(data.contents); ARR_TAP_GRID[1].appendRows(data.contents);
} }
function render$3$List(data) { function render$3$List(data) {
if($3$Control._paginationInfo.pagingType != "scroll"){ if($3$Control._paginationInfo.paging && $3$Control._paginationInfo.pagingType == "nav"){
ARR_TAP_GRID[2].clear(); ARR_TAP_GRID[2].clear();
} }
ARR_TAP_GRID[2].appendRows(data.contents); ARR_TAP_GRID[2].appendRows(data.contents);
} }
function render$4$List(data) { function render$4$List(data) {
if($4$Control._paginationInfo.pagingType != "scroll"){ if($4$Control._paginationInfo.paging && $4$Control._paginationInfo.pagingType == "nav"){
ARR_TAP_GRID[3].clear(); ARR_TAP_GRID[3].clear();
} }
ARR_TAP_GRID[3].appendRows(data.contents); ARR_TAP_GRID[3].appendRows(data.contents);
} }
function render$5$List(data) { function render$5$List(data) {
if($5$Control._paginationInfo.pagingType != "scroll"){ if($5$Control._paginationInfo.paging && $5$Control._paginationInfo.pagingType == "nav"){
ARR_TAP_GRID[4].clear(); ARR_TAP_GRID[4].clear();
} }
ARR_TAP_GRID[4].appendRows(data.contents); ARR_TAP_GRID[4].appendRows(data.contents);

@ -298,7 +298,7 @@ Date Author Description
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -321,7 +321,7 @@ Date Author Description
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -88,7 +88,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -111,7 +111,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -86,7 +86,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -110,7 +110,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -101,7 +101,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -125,7 +125,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -85,7 +85,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -108,7 +108,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -84,7 +84,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -108,7 +108,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -225,7 +225,7 @@ Date Author Description
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -252,7 +252,7 @@ Date Author Description
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -87,7 +87,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -110,7 +110,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -105,7 +105,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -129,7 +129,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -79,7 +79,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -102,7 +102,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -81,7 +81,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -105,7 +105,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -83,7 +83,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -106,7 +106,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -81,7 +81,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -105,7 +105,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -83,7 +83,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -107,7 +107,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -72,7 +72,7 @@
keymapper:info => info ? info.SOME_KEY : "", keymapper:info => info ? info.SOME_KEY : "",
dataGetter:obj => obj.data.contents dataGetter:obj => obj.data.contents
}); });
$$Control._pagination = false; $$Control._paginationInfo.paging = false;
$$Control.onDatasetChange = obj => { $$Control.onDatasetChange = obj => {
let pagination = obj.data.pagination; let pagination = obj.data.pagination;
@ -88,7 +88,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -112,7 +112,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -82,7 +82,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -106,7 +106,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -92,7 +92,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -115,7 +115,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -84,7 +84,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -107,7 +107,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -86,7 +86,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -109,7 +109,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -86,7 +86,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -109,7 +109,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -83,7 +83,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -106,7 +106,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -83,7 +83,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -107,7 +107,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -97,7 +97,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -121,7 +121,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -91,7 +91,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -115,7 +115,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -92,7 +92,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -115,7 +115,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -75,7 +75,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -99,7 +99,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -89,7 +89,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -113,7 +113,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -84,7 +84,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -108,7 +108,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -86,7 +86,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -110,7 +110,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -93,7 +93,7 @@
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -116,7 +116,7 @@
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

@ -112,7 +112,7 @@ Date Author Description
render$$List(obj.data); render$$List(obj.data);
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
let start = 0; let start = 0;
if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){ if(pagination.pageNum > 1 && pagination.totalPage > 1 && pagination.totalSize > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1); start = $$Control._paginationInfo.fetchSize * (pagination.pageNum - 1);
@ -136,7 +136,7 @@ Date Author Description
} }
function render$$List(data) { function render$$List(data) {
if($$Control._paginationInfo.pagingType != "scroll"){ if($$Control._paginationInfo.paging && $$Control._paginationInfo.pagingType == "nav"){
GRID.clear(); GRID.clear();
} }
GRID.appendRows(data.contents); GRID.appendRows(data.contents);

Loading…
Cancel
Save