|
|
|
@ -195,8 +195,8 @@ $(document).ready(function(){
|
|
|
|
|
var notFound = [""];
|
|
|
|
|
var found = $P.findn("detailGridTbodyTemplate").innerHTML;
|
|
|
|
|
var replacer = (str, dataItem) => str
|
|
|
|
|
.replace(/{onclick}/gi, "pageObject['${pageName}'].clickDetailGrid('" + dataItem.getValue("DATA_ID") + "');")
|
|
|
|
|
.replace(/{ondblclick}/gi, "pageObject['${pageName}'].dblClickDetailGrid('" + dataItem.getValue("DATA_ID") + "');");
|
|
|
|
|
.replace(/{onclick}/gi, "pageObject['${pageName}'].clickDetailGrid('{DATA-INDEX}');")
|
|
|
|
|
.replace(/{ondblclick}/gi, "pageObject['${pageName}'].dblClickDetailGrid('{DATA_ID}');");
|
|
|
|
|
var trs = empty ? notFound : DS.inStrings(found, replacer);
|
|
|
|
|
$P.$findn("detailTbody").html(trs.join());
|
|
|
|
|
|
|
|
|
@ -569,8 +569,8 @@ $(document).ready(function(){
|
|
|
|
|
$P.$findn("statWrapper").animate({scrollTop : offset.top}, 400);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.clickDetailGrid = (key) => {
|
|
|
|
|
$P.$findn("detailTbody").setCurrentRow(key);
|
|
|
|
|
$P.clickDetailGrid = (dataIndex) => {
|
|
|
|
|
$P.$findn("detailTbody").setCurrentRow(dataIndex);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.dblClickDetailGrid = (key) => {
|
|
|
|
|