diff --git a/src/main/webapp/WEB-INF/jsp/fims/stat/stat-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/stat/stat-main.jsp index 801346d2..f21127b7 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/stat/stat-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/stat/stat-main.jsp @@ -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) => { diff --git a/src/main/webapp/WEB-INF/jsp/fims/stat/stat01011-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/stat/stat01011-info.jsp index 556407fb..4adad503 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/stat/stat01011-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/stat/stat01011-info.jsp @@ -15,7 +15,7 @@