Keep report header visible while scrolling

前端 未结 5 1674
遇见更好的自我
遇见更好的自我 2021-02-08 14:14

I often check the following option in the hope that it will be implemented when the report is rendered on the RS web portal - but it never works...

相关标签:
5条回答
  • 2021-02-08 14:46

    Kindly note: We can keep the headers of a Tablix Freezed.

    Work around:

    1. We need to change the fixed data property to true of a header cell(static)
    2. Remove the selection of check box for "keep the row or column header visible while scrolling"
    0 讨论(0)
  • 2021-02-08 14:51

    I couldn't find this property in Visual Studio, so I checked XML source.

    1. In solution explorer right click on your report and View Code.
    2. In xml code find:

        <TablixRowHierarchy>
            <TablixMembers>
                <TablixMember>
                    <TablixHeader>

    1. Under <TablixMember> put this code:

    <FixedData>true</FixedData>

    Now save the code and you will see that header row is freezed.

    0 讨论(0)
  • 2021-02-08 15:00

    I think what confuses people about these settings is that the "Row Headers" and "Column Headers" that the settings refer to are not visible if you have used a "table"-style tablix. These are only visible when using a "matrix"-style tablix.

    Therefore I often see people trying to set this for tables and wondering why it does not work. As per the MSDN blog post referred to in Mike Honey's answer, if you have used a table then you have to fiddle about with the Advanced settings to get this to work.

    My tip is to start with a matrix and make sure the row or column headers you want to remain visible are in the matrix row/column group areas (above and to the left of the double-dash lines). You can remove any row or column groups that you are not going to use. When you set the "remain visible" settings they should then just work as expected.

    0 讨论(0)
  • 2021-02-08 15:02

    I find it usually doesnt work as advertised and you have to find the "Advanced mode" button (a strong candidate for the worst piece of UI ever) and then fiddle with several properties.

    Here's probably the best reference:

    http://blogs.msdn.com/b/robertbruckner/archive/2008/10/13/repeat-header-and-visible-fixed-header-table.aspx

    0 讨论(0)
  • 2021-02-08 15:05

    Step 1) In the Tablix properties check the boxes for:

    • Repeat header rows on each page.
    • Keep header visible while scrolling.

    Make sure that the Column Headers check boxes are NOT checked.


    Step 2) In the Group pane on the left (Row Groups) the first line is Static (in Advanced mode).

    • Set its: "ReapetOnNewPage" property to TRUE
    • Set its: "FixedData" property to TRUE
    • Set its: "KeepWithGroup" property to AFTER
    0 讨论(0)
提交回复
热议问题