There is the support of report bookmarks in the viewer. When displaying such report on the left side of the page, the panel with bookmarks will be displayed. When selecting a bookmark for your report, the viewer will automatically go to the page you need, and the report element with a bookmark will be highlighted.

 

Setting bookmarks

The width of the bookmark panel is 180 pixels by default. The viewer allows you to change this value. To do it you should use the bookmarksTreeWidth property, and its value is specified in pixels.

 

viewer.php

 

<?php

$options = new \Stimulsoft\Viewer\StiViewerOptions();

$options->appearance->bookmarksTreeWidth = 300;

?>

 

 

 

If the work with report bookmarks is not required, you can completely disable this feature. To do that, you should use the showBookmarksButton property, which needes to be set in the false value.

 

viewer.php

 

<?php

$options = new \Stimulsoft\Viewer\StiViewerOptions();

$options->toolbar->showBookmarksButton = false;

?>

 

 

Information

 

In this case, report bookmarks will not be displayed, even if they are present in a displayed report. This property doesn't exert influence over print and export a report.

 

 

 

When printing a report with bookmarks, the bookmarks tree will be hidden. If apart from the report it's required to print bookmarks too, you should set the bookmarksPrint property in the true value.

 

viewer.php

 

<?php

$options = new \Stimulsoft\Viewer\StiViewerOptions();

$options->appearance->bookmarksPrint = true;

?>