This topic is locked

How to add quick jump menu to report page

4/12/2016 10:04:10 AM
PHPRunner Tips and Tricks
admin

Q: I want to save some space on report page replacing horizontal menu with quick jump menu. How can I do this?
A: PHPRunner doesn't have a report layout with quick jump but it's easy to create a new one. Pick one of report layouts with horizontal menu i.e. report3 and click 'Modify'.
Click on horizontal menu in preview pane to find out which line is responsible for the menu.


Remove "brick hmenu".


Now add "brick right quickjump" right after "brick left printpanel" line.


One more thing. Add the following PHP code to BeforeDisplay event of that report page:

$xt->assign("quickjump_attrs", 'class="'.$pageObject->makeClassName("quickjump").'"');