Post report generation sorting (yeah that again)
#1
Posted 04 December 2011 - 02:11 PM
The current HTML reports provide the user the ability to sort their data by clicking on the table column headers. It uses a slightly modified version of this code: http://www.kryogenix...owser/sorttable to handle the sorting.
I've seen posts whereas the dynamic sorting occurs by re-executing the report. As simple as that process would be to implement, some of my reports may take sometime to generate.
So, my question is, how can I gain a reference to the main table within a report, to set it's class to "sortable" (see the link above) I'll also need to add class="sorttable_nosort" to some of the table headers, since some columns won't be sortable.
If anyone could help me out, I'd really appreciate it. This is the last step in implementing BIRT, and would love to this figured out.
Thanks in advance,
Chris
#2
Posted 05 December 2011 - 12:32 PM
Have you tried using bookmark on the table in BIRT report and then using javascript to search the HTML element based on its name, like so:
document.getElementById("bookmark_name")
#3
Posted 06 February 2012 - 05:16 AM
#4
Posted 10 September 2012 - 10:11 PM
I hope you are doing great and thanks for your great efforts for Birt.
my requirement is:
Need to get access of column headers and details row values from generated rptdocumnet from new blank report design through 'Before Factory' even handler.
I have created a sample report design and generated rptdocument for it.
Here i want to do is:
I want to access the generated rptdocument from other report (blank report)for accessing the column headers and detail rows value of the generated rptdocument.
Please give me the directions or ways in order to retrieve the values(Column Headers, details values)
Please help me out for resolving this criteria
Thank you in advance for your concern in my criteria.
Thanks
gk





MultiQuote








