Usage
Classic Report
Example nested report is based on emp and dept table.
- Create a new application
- Create a new page
- Create a
Classic Reportbased on SQL query [1] - Create derivied column and configure it as follows:
- Change derivied column
TypetoLink - Set
TargettoURL - Set
URLto<span class="fa fa-search"></span><span class="DEPTNO" style="display: none">#DEPTNO#</span> - Set
Link Attributestoclass="dept"
- Change derivied column
- Create new dynamic action and configure it as follows:
- Set
EventtoClick - Set
Selection TypetojQuery Selector - Set
jQuery Selectorto.dept - Set
Event ScopetoDynamic - Set
Static Container (jQuery Selector)tobody
- Set
- Create true action and configure it as follows:
- Set
ActiontoUnited Codes Nested Reports [Plug-In] - Set
Details queryto [2] - Set
Affected Elements > Selection TypetoReport - Set
Affected Elements > RegiontoClassic Reportdefined in step 3. - (Not required) Adjust the plug-in behavior up to your needs using the plug-in attributes
- Set
- Save and run a page
[1] SQL Query (for step 3)
select * from dept
[2] SQL Query (for step 6.b)
select * from emp where deptno = '#DEPTNO#'