Table with fixed Size

4 posts, 0 answers
  1. Alexander
    Alexander avatar
    22 posts
    Member since:
    May 2016

    Posted 15 Sep 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
    308 posts

    Posted 15 Sep 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. DevCraft banner
  4. Alexander
    Alexander avatar
    22 posts
    Member since:
    May 2016

    Posted 19 Sep 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
  5. Katia
    Admin
    Katia avatar
    308 posts

    Posted 21 Sep 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
Back to Top