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

Programmaticaly creating data table with columns added and row summations

3 Answers 320 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tomislav
Top achievements
Rank 1
Tomislav asked on 04 Apr 2011, 09:14 PM
Hi,
I'm facing a problem in programmatically creating a table. I have managed to add columns to table and the report renders fine,using this thread

:http://www.telerik.com/community/forums/reporting/telerik-reporting/quot-dynamic-quot-table-in-telerik-reports.aspx

How can i now add summations for particular column in the end of the table(the last row) programmatically?

For instance, I would only like to show summations for some of the columns,not all of them becouse some of them are not summable...

Thanks in advanace

3 Answers, 1 is accepted

Sort by
0
Tomislav
Top achievements
Rank 1
answered on 17 Apr 2011, 11:53 AM
Anyone?
0
Tomislav
Top achievements
Rank 1
answered on 19 Apr 2011, 05:15 PM
Can you at least provide me with information is this case possible?

My case is I have a bunch of datatables that I should use to generate reports, so I'm trying to generically fill the tables in one report.

My only concern is adding the totals row to certain columns at the end of the table?

Please i need to buy a license within a week or so so I need to know if my case is realizable?
0
Massimiliano Bassili
Top achievements
Rank 1
answered on 20 Apr 2011, 03:51 PM
Have you checked the Table API (http://www.telerik.com/help/reporting/t_telerik_reporting_table.html) and the Table item documentation (http://www.telerik.com/help/reporting/table-working-with-table-cross-table-list-items.html)? These along with the InitializeComponent() method is the easiest way to learn the Table item structure. Generally the fastest way to get what you need is to create the table in the designer and use the code it generated in the InitializeComponent() as template. The Totals in the Table are static row groups, so this is what you need to add.
Tags
General Discussions
Asked by
Tomislav
Top achievements
Rank 1
Answers by
Tomislav
Top achievements
Rank 1
Massimiliano Bassili
Top achievements
Rank 1
Share this question
or