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

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.
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.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

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.
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

Hi, Stef. resolved. many thanks