DatasetControl.getDataset(option) 추가

master
mjkhan21 3 months ago
parent 6e7649bc16
commit 6ab376e055

@ -1421,10 +1421,6 @@ class DatasetControl {
// this.doctx = conf.doctx || "";
this.doq = new DomQuery().setContainers(conf.doctx);
if (conf.addOns) {
conf.addOns.forEach(addOn => addOn.doq = this.doq);
}
this.infoSize = conf.infoSize;
this.appendData = conf.appendData;
@ -1458,10 +1454,6 @@ class DatasetControl {
};
}
get addOns() {
return this.dataset.addOns;
}
prefixed(str) {
return (this.prefix || "") + str;
}
@ -1529,6 +1521,10 @@ class DatasetControl {
data: params
});
}
getDataset(option) {
return this.dataset.getDataset(option);
}
setData(obj, option = {}) {
this.setPaging(obj, option);
@ -1564,8 +1560,6 @@ class DatasetControl {
toObject(item = this.getCurrent("item")) {
if (this.dataset.keymapped)
return this.dataBinder().toObject(item);
if (this.addOns.currentData)
return this.addOns.currentData.getData(item);
}
dataBinder() {

Loading…
Cancel
Save