|
|
|
@ -240,8 +240,8 @@
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
// Dataset 변경 이벤트
|
|
|
|
|
|
|
|
|
|
$P.control.onDatasetChange = (obj) => {
|
|
|
|
|
$P.renderList(obj.${infoPrefix}Total);
|
|
|
|
|
$P.control.onDatasetChange = (obj, option) => {
|
|
|
|
|
$P.renderList(obj.${infoPrefix}Total, option);
|
|
|
|
|
|
|
|
|
|
$("#${infoPrefix}Paging--${pageName}").setPagingInfo({
|
|
|
|
|
list: $P.control.dataset
|
|
|
|
@ -280,17 +280,13 @@
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// FIXME: 페이징
|
|
|
|
|
$P.detailControl.onDatasetChange = (obj) => {
|
|
|
|
|
$P.renderDetailList(obj.${infoPrefix}Total);
|
|
|
|
|
//debugger;
|
|
|
|
|
$P.detailControl.onDatasetChange = (obj, option) => {
|
|
|
|
|
$P.renderDetailList(obj.${infoPrefix}Total, option);
|
|
|
|
|
|
|
|
|
|
$("#${infoPrefix}DetailPaging--${pageName}").setPagingInfo({
|
|
|
|
|
list: $P.detailControl.dataset
|
|
|
|
|
, prefix: "${infoPrefix}DetailPaging--${pageName}"
|
|
|
|
|
, start: obj.${infoPrefix}Start
|
|
|
|
|
//, totalSize: $P.detailControl.dataset.length
|
|
|
|
|
, totalSize: obj.totalCount
|
|
|
|
|
, fetchSize: obj.${infoPrefix}Fetch
|
|
|
|
|
, func: "pageObject['${pageName}'].detailControl.load({index})"
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$P.control.tableRenderComplete = true; // dataTables 에 자료 추가 완료
|
|
|
|
@ -304,7 +300,7 @@
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
// DataTables에 click, dbclick 이벤트
|
|
|
|
|
|
|
|
|
|
$P.renderList = (totalSize) => {
|
|
|
|
|
$P.renderList = (totalSize, option) => {
|
|
|
|
|
let ${infoPrefix}List = $P.control.dataset;
|
|
|
|
|
let empty = ${infoPrefix}List.empty;
|
|
|
|
|
|
|
|
|
@ -338,7 +334,7 @@
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.renderDetailList = () => {
|
|
|
|
|
$P.renderDetailList = (totalSize, option) => {
|
|
|
|
|
let ${infoPrefix}DetailList = $P.detailControl.dataset;
|
|
|
|
|
let empty = ${infoPrefix}DetailList.empty;
|
|
|
|
|
|
|
|
|
|