|
|
@ -127,15 +127,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
$P.control.onDatasetChange = (obj) => {
|
|
|
|
$P.control.onDatasetChange = (obj) => {
|
|
|
|
$P.renderList(obj.${infoPrefix}Total);
|
|
|
|
$P.renderList(obj.${infoPrefix}Total);
|
|
|
|
|
|
|
|
debugger;
|
|
|
|
$("#${infoPrefix}Paging--${pageName}").setPagingInfo({
|
|
|
|
$("#${infoPrefix}Paging--${pageName}").setPagingInfo({
|
|
|
|
list: $P.control.dataset
|
|
|
|
list: $P.control.dataset
|
|
|
|
, prefix: "${infoPrefix}Paging--${pageName}"
|
|
|
|
, prefix: "${infoPrefix}Paging--${pageName}"
|
|
|
|
, start: obj.${infoPrefix}Start
|
|
|
|
, start: obj.${infoPrefix}Start
|
|
|
|
, totalSize: obj.${infoPrefix}Total
|
|
|
|
, totalSize: $P.control.dataset.length
|
|
|
|
, fetchSize: obj.${infoPrefix}Fetch
|
|
|
|
, fetchSize: obj.${infoPrefix}Fetch
|
|
|
|
, func: "pageObject['${pageName}'].control.load({index})"
|
|
|
|
, func: "pageObject['${pageName}'].control.load({index})"
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
console.log("obj---------------");
|
|
|
|
|
|
|
|
console.log(obj);
|
|
|
|
|
|
|
|
|
|
|
|
$P.control.tableRenderComplete = true; // dataTables 에 자료 추가 완료
|
|
|
|
$P.control.tableRenderComplete = true; // dataTables 에 자료 추가 완료
|
|
|
|
};
|
|
|
|
};
|
|
|
|