This is a migrated thread and some comments may be shown as answers.

Table with fixed Size

5 Answers 1082 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alexander
Top achievements
Rank 1
Iron
Alexander asked on 15 Sep 2016, 08:55 AM

I'm currently working on Document with fixed layout (Europe Uniion Normed size). In this document i have  table, which have to be with fixed size. How can i set Table size at deign time?

Is it possible to makethe multiple pages with same layout if the the Table doesnot fit in the Table size

5 Answers, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 15 Sep 2016, 12:44 PM
Hello Alexander,

The width of the columns will be fixed - it will be the width you set in the Designer. The height can be fixed by setting CanGrow=False for the TextBoxes. Otherwise, the Table item will grow vertically as much as needed to fit its content.
In general, the size of the table will depend on the data you need to display.

When the table breaks to the next page, the layout you set in the Designer will be repeated. You can repeat the Column/Row headers on each page using ColumnHeadersPrintOnEveryPage and RowHeadersPrintOnEveryPage properties - Understanding Crosstab Areas.


Regards,
Katia
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Alexander
Top achievements
Rank 1
Iron
answered on 19 Sep 2016, 08:38 AM

Hi Katia,

your answer does not solve our problem.
So let me explain explain our requirement in detail:

Our document has a fixed layout of one single page. This layout contains several tables with fixed width and fixed height.
The tables can contain data which do not fit on this single page.
In this case we have to create more pages with the same fixed layout which will contain the remaining data of the tables.

In WPF I would use a document paginator (https://msdn.microsoft.com/de-de/library/system.windows.documents.documentpaginator(v=vs.110).aspx ) to solve this requirement.
A paginator gets the available size (width and height) of a table on the page and a table with data as input. As result you get the number of pages and you can query the rendered content for each page.

  • How can the requirement be solved in Telerik Reporting?
  • Is there a similar concept for paginator in Telerik Reporting?
  • As workaround we have the idea to measure the height for each data element by rendering each element in a table. Then we candistribute the elements to several pages.But how can we query the height of a table/report after rendering?

    Thanks in advance
    Alexander
0
Katia
Telerik team
answered on 21 Sep 2016, 02:14 PM
Hi Alexander,

It will not be possible to force a page break for the table. The Table item will grow to fit its content and when it grows it will push the items below it - this behavior is explained in Design Considerations for Report Item Layout help article.

All the report items are rendered one after another and this behavior cannot be changed. Thus, you might need to consider using a different layout to show the data.

To learn more about pagination and rendering mechanisms in Telerik Reporting you can check Understanding Pagination and Understanding Rendering Behaviors.


Regards,
Katia
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Swot
Top achievements
Rank 1
answered on 06 Mar 2019, 01:35 PM
how to freeze header rows in telerik reporting table
0
Silviya
Telerik team
answered on 08 Mar 2019, 12:17 PM
Hi Swot,

When previewing the report using the Interactive layout, the renderer uses so-called soft page breaks, where the report is optimized for screen viewing. In this mode, the tables are rendered on a single continuous page to preserve the logical report layout.

You can read about the differences between Interactive and Print layout here.

However, none of the layouts supports locked/frozen headers. The headers will be printed on every page, if the ColumnsHeaderPrintInEveryPage is set to true, as you did, and also if the report viewer is in Print Preview mode. In this case, the report will be split to pages for printing and every page will contain the table headers.

This feature is available in our Feedback & Ideas portal and you can vote for it. In future versions of our product we consider for implementation the most demanded features, so if it has more votes, we'll move it up in our implementation list.

Regards,
Silviya
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Alexander
Top achievements
Rank 1
Iron
Answers by
Katia
Telerik team
Alexander
Top achievements
Rank 1
Iron
Swot
Top achievements
Rank 1
Silviya
Telerik team
Share this question
or