have some space lines between tables

8 posts, 1 answers
  1. kid
    kid avatar
    14 posts
    Member since:
    May 2016

    Posted 15 Jun Link to this post

    I want to loop a list, the list contains diff table type, which table type I design a table to control the layou

     

    e.g. my object datasource is List<TableData>, TableData contains a field Tabletype, 

    if Tabletype = Table1, then will show the Table1, other tables will be hidden.

    if Tablegtype = Table2, the will show the Table2, other tables will be hidden..

    but the preview result have some space lines between tables, I have upload the preview result.

     

    my design layout as below, the report datasource is custom objectdatasource, the table datasource  is binding = ReportItem.DataObject

    detail

         table1  

         table2

         table3

         table4

         table5

     

     

     

     

  2. kid
    kid avatar
    14 posts
    Member since:
    May 2016

    Posted 15 Jun Link to this post

    Now I merger all tables into a big table,  hidden the rows when not match the tabletype.

    It look better, but still keep some space lines.

    I have upload the designer file. 
  3. DevCraft banner
  4. kid
    kid avatar
    14 posts
    Member since:
    May 2016

    Posted 15 Jun Link to this post

    Now I merger all tables into a big table,  hidden the rows when not match the tabletype.

    It look better, but still keep some space lines.

    I have upload the designer file. 
  5. kid
    kid avatar
    14 posts
    Member since:
    May 2016

    Posted 15 Jun in reply to kid Link to this post

    please rename a.jpg to a.zip file and upzip the file. the system only Allowed extensions: .jpg, .jpeg, .gif, .png
  6. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 15 Jun Link to this post

    Hello kid,

    In regards to your question, if you are showing/hiding items via conditional formatting or bindings controlling their Visible property, the layout will change based on the Design Considerations for Report Item Layout. The article includes a suggestion how to limit the blank space per page.

    In case of a single Table item, TextBox items in it can be hidden, which preserves tha Table item's structure. To hide rows from the Table item's structure, they have to be filtered out from the corresponding row group - How to: Add filtering to Group.


    On a side note, forums allow only images to be attached to posts. Please open a support ticket where you can upload ZIP files up to 20MB.

    Regards,
    Stef
    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
  7. kid
    kid avatar
    14 posts
    Member since:
    May 2016

    Posted 15 Jun Link to this post

    Hi, Stef,

       Thanks your reply

       1. In my case via bindings to control the visible property,  and set KeepTogether property to false. It can not resolve my case.

        2. My case no group data. just a normal list data. I don't know how can resolve my case.

     

     

  8. Answer
    Stef
    Admin
    Stef avatar
    3036 posts

    Posted 17 Jun Link to this post

    Hello kid,

    By changing the TextBox items' Visible properties you are hidding the textBox items, but the Table item's rendered rows and columns will preserve the space.

    Please check the attached video in IE browser (it is a SWF file). It illustrates a Table item, where column groups are hidden via filter. The same is applicable for row groups. Filtering rows/columns from the table item's structure frees the space.


    If you need further help, feel free to open a support ticket and send us a demo project illustrating the problem.

    Regards,
    Stef
    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
  9. kid
    kid avatar
    14 posts
    Member since:
    May 2016

    Posted 22 Jun in reply to Stef Link to this post

    Hi, Stef.   resolved. many thanks

     

     

Back to Top
DevCraft banner