|
|
|
@ -184,9 +184,9 @@ $(document).ready(function(){
|
|
|
|
|
$P.refListMap = {};
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* datasetControl
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
$P.alt = new DatasetControl({
|
|
|
|
|
* DatasetControl, Dataset, FormFields
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
var alt = $P.alt = new DatasetControl({
|
|
|
|
|
dataGetter : obj => Array.isArray(obj) ? obj : [], appendData:false,
|
|
|
|
|
keymapper : info => info ? info.DATA_ID : "",
|
|
|
|
|
urls : { },
|
|
|
|
@ -207,12 +207,9 @@ $(document).ready(function(){
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* Dataset.on
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
$P.alt.dataset.onDatasetChange = (obj, option) => {
|
|
|
|
|
alt.dataset.onDatasetChange = (obj, option) => {
|
|
|
|
|
|
|
|
|
|
var DS = $P.alt.dataset;
|
|
|
|
|
var DS = alt.dataset;
|
|
|
|
|
var empty = DS.empty;
|
|
|
|
|
var notFound = [""];
|
|
|
|
|
var found = $P.findn("detailGridTbodyTemplate").innerHTML;
|
|
|
|
@ -585,7 +582,7 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
$P.dblClickMasterGrid = (obj) => {
|
|
|
|
|
var dataKey = obj.dataset.key;
|
|
|
|
|
$P.alt.dataset.setData(refListMap[dataKey]);
|
|
|
|
|
alt.dataset.setData(refListMap[dataKey]);
|
|
|
|
|
|
|
|
|
|
var offset = $P.$findn("masterArea").offset();
|
|
|
|
|
$P.$findn("statWrapper").animate({scrollTop : offset.top}, 400);
|
|
|
|
|