Report Layout (RDL) - Repeat Table Header on new Page

Aluan
Member Posts: 164
Hello,
we are using Microsoft Dynamics NAV 2015.
I searched and tried a lot, but nothing did work, maybe it's not possible.
We have a table with one header row an a few lines.
I changed the "RepeatOnNewPage" property to true, like here:
-> http://vbcity.com/blogs/xtab/archive/2010/06/14/what-to-do-when-the-repeatcolumnheaders-property-in-a-tablix-isn-t-working.aspx
In the "Tablix Properties" i checked the "repeat header rows on each page".
I am not sure, but maybe the problem is the "CanGrow" Property in a table row. Sometimes we have a huge text, over a site. Whenever the text goes over 1 site the table header row will not be printed.
Is there a way to print the table header row on every page until the table ends?
we are using Microsoft Dynamics NAV 2015.
I searched and tried a lot, but nothing did work, maybe it's not possible.
We have a table with one header row an a few lines.
I changed the "RepeatOnNewPage" property to true, like here:
-> http://vbcity.com/blogs/xtab/archive/2010/06/14/what-to-do-when-the-repeatcolumnheaders-property-in-a-tablix-isn-t-working.aspx
In the "Tablix Properties" i checked the "repeat header rows on each page".
I am not sure, but maybe the problem is the "CanGrow" Property in a table row. Sometimes we have a huge text, over a site. Whenever the text goes over 1 site the table header row will not be printed.
Is there a way to print the table header row on every page until the table ends?
0
Comments
-
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page0 -
Hey,
i tried the steps, but it didn't work. It's pretty much the same as in the posted site.
Anyway thanks for your answer.0 -
Hi Aluan,
You are almost done it. These are the steps I followed, and so far it works for me.
1. Select "Advanced Mode" in the Group Pane.
2. Select the correct Static row from the Row Group
3. Change the properties of;
KeepTogether = True
KeepWithGroup = After
RepeatOnNewPage = True
that is all, no need to change tablix properties, repeating in pages works even without "KeepTogether" property change, but I think it is what you have missed, so try it out.
Lakshan Kulawansa
ERP Consultant - MS Dynamics NAV
https://lk.linkedin.com/pub/lakshan-vindana-kulawansa/37/2a2/5921 -
Hi,
still the same problem. Whenever the text goes above a site the table header does not appear.0 -
if you don't mind, send me the object, I will try.Lakshan Kulawansa
ERP Consultant - MS Dynamics NAV
https://lk.linkedin.com/pub/lakshan-vindana-kulawansa/37/2a2/5920 -
I created a testfile (it's a ".txt" exported file), and uploaded it at Pastebin.
-> http://pastebin.com/uvqzq0AL0 -
Hi Aluan,
The issue is because in your report first row is going up to second page, because of the text you have insert 60 times. If you reduced it to like 20 and the other row (another blank line or a sales line) comes to next page, table header is repeating for sure.
Is that long text a major requirement? May I know the requirement.Lakshan Kulawansa
ERP Consultant - MS Dynamics NAV
https://lk.linkedin.com/pub/lakshan-vindana-kulawansa/37/2a2/5920 -
Hi lakshanvindana,
thank you for helping me.
Yes the long text is a major requirement. Sometimes the text goes over 2 sites, or more.
The long text is everytime in the same table cell and the property "MarkupType" is set to "HTML".0 -
No i can't use the header, because there are much more information (a list, an other table) before the table will be printed.0
-
what you actually take for that text?Lakshan Kulawansa
ERP Consultant - MS Dynamics NAV
https://lk.linkedin.com/pub/lakshan-vindana-kulawansa/37/2a2/5920 -
It's like a description for the item. For every item you can create such a description. That's not a standard field, so the text can be really long.0
-
Hi Aluan,
check the text file here;
http://pastebin.com/c4wRG6HN
some sort of a solution for your requirement.Lakshan Kulawansa
ERP Consultant - MS Dynamics NAV
https://lk.linkedin.com/pub/lakshan-vindana-kulawansa/37/2a2/5921 -
Hi thank you,
i'll try this in the other reports where that is needed.
When i am done i will post here again.1 -
So, it works now. I added a DataItem and a Column like you, and modified the Code a bit. I was able to split every line into another column cell and now the TableHeader appears on every site.
Thank you for your time & solution!1
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions