fix : 페이징 영역 id 수정

main
이범준 2 years ago
parent c10064dab0
commit 8b5a4a980c

@ -140,8 +140,8 @@ Date Author Description
</div> </div>
<div id="grid"></div> <div id="grid"></div>
<div class="d-flex flex-row p-3 justify-content-between"> <div class="d-flex flex-row p-3 justify-content-between">
<label id="PagingInfo" class="dataTables_info" role="status" aria-live="polite"></label> <label id="grid1PagingInfo" class="dataTables_info" role="status" aria-live="polite"></label>
<ul id="someul" class="pagination pagination-primary"></ul> <ul id="grid1Paging" class="pagination pagination-primary"></ul>
</div> </div>
</div> </div>
@ -224,9 +224,9 @@ Date Author Description
if(pagination.page > 1 && pagination.totalPage > 1 && pagination.totalCount > $$Control._paginationInfo.fetchSize){ if(pagination.page > 1 && pagination.totalPage > 1 && pagination.totalCount > $$Control._paginationInfo.fetchSize){
start = $$Control._paginationInfo.fetchSize * (pagination.page - 1); start = $$Control._paginationInfo.fetchSize * (pagination.page - 1);
} }
$("#someul").setPaging({ $("#grid1Paging").setPaging({
list: $$Control.dataset, list: $$Control.dataset,
prefix: "", prefix: "grid1",
start: start, start: start,
totalSize: pagination.totalCount, totalSize: pagination.totalCount,
fetchSize: $$Control._paginationInfo.fetchSize, fetchSize: $$Control._paginationInfo.fetchSize,

Loading…
Cancel
Save