Add a hyperlink to the dry report to trigger JS

1. Open the report, select the cell where you need to add a hyperlink, it is best to customize different colors to distinguish other cells, here I choose blue


2. Select " Hyperlink" in the property editor , double-click the corresponding "Expression" input box, select the expression, and enter the expression: "javascript:forDetail("+F4{}+", "+J4{}+");"


    Here I pass in the values ​​of F4 and J4

3. Define the corresponding JS method in the JSP page

function forDetail (appNo, busiType) {}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324823921&siteId=291194637