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

Reporting: multiple parts, hide parts

1 Answer 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Juergen
Top achievements
Rank 1
Juergen asked on 29 Jan 2014, 08:28 AM
Hi!

I have 2 Questions for which I haven´t found a sufficent answer elsewhere.

I´m using Telerik Reporting Q2 / 2012 for a Silverlight 4 project, so upgrading is not an option. (Or do the newer Report Versions still work with SL 4?)
The datasource I use is an object datasource.

1. The Datasource contains arrays and lists. In my Report I want to have a dynamic part for each item in the List. I Understand, that you can´t access elements of the list directly, but have to use a seperate datasource for the array. I tried that but the only datafield I see in there ist one item.
How can I implement a report with a dynamic part (f.e. a row in a table) that repeats for every element in the array, without having the need to design them all myself?

2. Trying to solve 1. I have made a binding to the visibility of a row to the number of elements in the array. The row wasn´t visible if the count was less than a specific number, but there was still a white space for it reserved in the report. How can I not only make a part of the report invisible, but also prevent that there is some space reserved for it?

Kind regards

1 Answer, 1 is accepted

Sort by
0
Accepted
KS
Top achievements
Rank 1
answered on 31 Jan 2014, 08:40 PM
Hi,

1. Make a template and bind it to the array in the list object - http://www.telerik.com/help/reporting/data-items-how-to-use-data-object.html
2. If it is a table, most probably only filtering the row groups will save the space... 

-KS
Tags
General Discussions
Asked by
Juergen
Top achievements
Rank 1
Answers by
KS
Top achievements
Rank 1
Share this question
or