Table with fixed Size

6 posts, 0 answers
  1. Alexander
    Alexander avatar
    30 posts
    Member since:
    May 2016

    Posted 15 Sep 2016 Link to this post

    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

  2. Katia
    Admin
    Katia avatar
    693 posts

    Posted 15 Sep 2016 Link to this post

    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
  3. Alexander
    Alexander avatar
    30 posts
    Member since:
    May 2016

    Posted 19 Sep 2016 Link to this post

    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
  4. Katia
    Admin
    Katia avatar
    693 posts

    Posted 21 Sep 2016 Link to this post

    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
  5. Swot
    Swot avatar
    1 posts
    Member since:
    Sep 2017

    Posted 06 Mar Link to this post

    how to freeze header rows in telerik reporting table
  6. Silviya
    Admin
    Silviya avatar
    330 posts

    Posted 08 Mar Link to this post

    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
Back to Top