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

have some space lines between tables

7 Answers 485 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
kid
Top achievements
Rank 1
kid asked on 15 Jun 2016, 05:39 AM

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

 

 

 

 

7 Answers, 1 is accepted

Sort by
0
kid
Top achievements
Rank 1
answered on 15 Jun 2016, 06:49 AM

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. 
0
kid
Top achievements
Rank 1
answered on 15 Jun 2016, 06:49 AM

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. 
0
kid
Top achievements
Rank 1
answered on 15 Jun 2016, 06:52 AM
please rename a.jpg to a.zip file and upzip the file. the system only Allowed extensions: .jpg, .jpeg, .gif, .png
0
Stef
Telerik team
answered on 15 Jun 2016, 01:39 PM
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
0
kid
Top achievements
Rank 1
answered on 16 Jun 2016, 02:48 AM

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.

 

 

0
Accepted
Stef
Telerik team
answered on 17 Jun 2016, 12:49 PM
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
0
kid
Top achievements
Rank 1
answered on 23 Jun 2016, 01:46 AM

Hi, Stef.   resolved. many thanks

 

 

Tags
Report Designer (standalone)
Asked by
kid
Top achievements
Rank 1
Answers by
kid
Top achievements
Rank 1
Stef
Telerik team
Share this question
or