How to: Keep Headers Visible When Scrolling?

sachindhus
edited February 11, 2022 in Analytics #1
<p>Hi,</p><p> </p><p>I have developed report & integrated it in jsp. I want to fix header of report table when user scroll to down like excel sheet. Means header should always visible to user only table data will scroll. Is there any standard way to do this in birt? I am using BIRT 3.7. Please share necessary info to do this.</p><p> </p><p>Regards,</p><p>Sachin</p>

Comments

  • <p>I too have the same requirement.. I want to freeze the header when user scrolls vertically..</p><p>Can anybody help me regarding this?</p><p> </p><p>Thanks & Regards,</p><p>Gauri</p>
  • <p>Hi,</p><p> </p><p>you can use a scrollable grid</p><p> </p><p>1) create a grid with 2 rows and 1 column</p><p>2) place a table inside the first cell</p><p>3) copy the same table in the second cell </p><p>4) on the first table (first cell) just keep the header of the table</p><p>5) on the second table (second cell) just keep the detail row</p><p>6) on the second table, set the page break to 0 (= no page break)</p><p>7) on the second cell (from the grid) goto to Property > advanced > Overflow > scroll</p><p> </p><p>And that's it</p><p> </p><p>here an example</p><p> </p>
    Warning No formatter is installed for the format ipb
  • <p>Thanks GLO_FR, this is a good solution. I have this working but ran into a problem.</p>
    <p> </p>
    <p>When the table detail section expands wider than the page it creates a horizontal scroll. When users scrolls the data moves but the column headings do not. Column headers no longer relate to data underneath them.</p>
    <p> </p>
    <p>I can add a scroll to the header section but then have two scrolls - not practical or visually appealing. </p>
    <p> </p>
    <p>Any idea how to overcome this issue?</p>
    <p> </p>
    <p>Thanks,<br>
    David</p>

  • <span><a class="" href="http://developer.actuate.com/community/forum/index.php?/user/58212-glo-fr/&quot; title=""><span>GLO_FR</span></a> it's not working,my version of eclipse is Version: Mars (4.5),please give me solution.</span>
  • Attachment is the sample Report Design in which Header Locking is Fixed forExcel

  • Hi Ankur,

    Please let me know the changes you have done to freeze the header.