How to Highlight the Target Bookmark in Birt

veera_venkatesh178
edited February 11, 2022 in Analytics #1

Hi , I am using Birt (Engine Api) To create Report.
I have a table with a Cell which Contains link that will Navigate to another Table Cell just like Hyperlink .I can able to Navigate but i want to Highlight the Target BookMark (table Cell ) i have used the code Below

`

CellHandle cell = bookMarks.getValue();
cell .setBookmark("\"" + object.hashCode()  + "\""); // Target Cell  table2
 LabelHandle label = targetBookMark.getValue();//link Label Table1 .
Action ac = StructureFactory.createAction();
ActionHandle actionHandle = label.setAction(ac);
/**
 * setting hyperlink as bookmarklink
 */
actionHandle.setLinkType(DesignChoiceConstants.ACTION_LINK_TYPE_BOOKMARK_LINK);
//actionHandle.setReportName("new_report_1.rptdesign");
actionHandle.setTargetFileType("report-document");
/**
 * setting target book mark link
 */
actionHandle.setTargetBookmark( "\"" + object.hashCode()  + "\"" );

`
Can anyone help me with a Code