Community
Participate
Working Groups
I add a bookmark on the report Table-Details Row, but only the first row take the bookmark, and other rows have the bookmark recreated and has different bookmark value for each row. Example: Report that view 10 rows of data with bookmark sortableRow on the Table Detailed Row, each row must have the same bookmark. But found that only the first row has the sortableRow bookmark when i generate HTML file, and the other 9 rows has auto generated bookmark 'AUTOGENBOOKMARK_9' Having the same bookmark(ID) for all rows is very important especially when we apply a stylesheet on the report html based on the ID, or when we apply a script to sort rows based on the row ID.
Khalil, Do you have other way to apply same style for different elements? e.g, by class name? It's very important to create distinct ids for report items to support bookmarks and advance features like using script to manipulate report items in HTML.
(In reply to comment #1) The only way I have is to use the ID, not the class I can set the ID by bookmark, but i can't set the class for the Table-Details rows . and also I use a script based on the ID's but wouldn't it be better if you let the user choose whether to have distinct ID's or not? like in the previous versions of birt. what benefit would it make if the ID's for Table-Details rows are unpredictable?
Ok, let's add a new html render option to allow duplicate bookmarks.
Jun, Thanks, that would be great. (In reply to comment #3) > Ok, let's add a new html render option to allow duplicate bookmarks.
We need keep the ID unique among the whole document, it is a rule of XHTML/HTML5. For the user's scenario, he can use various method to define the style for the element, for example using the parent-child selector: .table_id > row -Wei Yan
See last comment.