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

Table Positioning and Aggregation

2 Answers 91 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chintan Shah
Top achievements
Rank 2
Chintan Shah asked on 14 Jun 2010, 10:49 AM
Hello,

I have searched lot of documentation and fourm. I was not able to find answer to my question.

Q1 : I am generating Tables dyanamically on Telerik Report. So how would i position these tables one after each other and close to page margins?

Q2 : I want to aggregate any column at the bottom of my table. so how should i do Sum of a partular column and then if i want to further process that table like Goal - Actual = Differance scenario.

I hope i made it clear regarding second quetion.

Thanks.

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 16 Jun 2010, 05:20 PM
Hi Chintan,

Since the Table item grows in runtime according to the data you show in it, you cannot know its height while you're designing the report, so assigning a proper location for subsequent items (tables in your case) is not applicable. What you can do is set a location that has no designated item in the designer and in runtime when the table grows, all other items below it would be pushed down.
As for the aggregation, you can add a total to your table, just like we have shown in the CrossTab demo report.
As for using values from several fields - you can do this directly in the TextBox expression. When you write an expression, you have access to many built-in fields, collections, and functions that you can use alone or combine with other terms. You can add function calls, operators, constants, fields, parameters, items from the built-in collections to an expression. Built-in function calls include aggregation, commonly used utility functions, and conversion methods. You can also add references to functions defined in your code (see user functions).

Sincerely yours,
Steve
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Chintan Shah
Top achievements
Rank 2
answered on 18 Jun 2010, 07:02 AM
Thank you for reply,
The solution you suggested will not work in my scenario. as i dont know how many tables will be there and also don't know how many columns those tables will have. Instead i have some small workaround for this issue. I have assigned some specific height to the detail rows of the table and then I calculate how many rows will be there in data source. then i multiply them so i eventually get table's runtime height. This is a bit tedious work to do.

One suggestion I would like to give is if you can implement a control like Stackpanel ( in WPF and Silverlight) in Telerik reporting. So that generating these type of custom report will become a lot easier.

Thanks.
Tags
General Discussions
Asked by
Chintan Shah
Top achievements
Rank 2
Answers by
Steve
Telerik team
Chintan Shah
Top achievements
Rank 2
Share this question
or