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

Combine multiple rows into single row in Table ?

3 Answers 568 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pavan
Top achievements
Rank 1
Pavan asked on 05 Apr 2012, 10:28 AM
Can we combine multiple rows into single row in telerik??
I have report in which i have 15 sub sections.In which one of  sub section is PatientData.
I have placed table for each section and assigned corresponding datasources to each table.
Eg: tablePatientData -- PatientDataSource
tablePatientDetails-- PatientDetailsDatasource

For eg: I have a requirement like from DB Patient information was returned in  4 rows.
PatientId  PatientData
1                Test1
2                Test2
3                Test3
4                Test4

In UI i need to display it as below

Patient Data Heading
-------------------------------------------------------------
Test1,Test2,Test3,Test4

I need the information on how can we acheive this in Telerik reporting??

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 05 Apr 2012, 01:47 PM
Hi Pavan,

I've attached a sample project that shows how to achieve the desired layout.

Regards,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Pavan
Top achievements
Rank 1
answered on 06 Apr 2012, 11:57 AM
Hi Steve,


thanks for your response
I have tried your sample but not able to replicate the logic what you have done in that table.
Can you elaborate in detail on how you have create that table and if any properties are applied???
thanks in advance
0
Steve
Telerik team
answered on 06 Apr 2012, 12:47 PM
Hi Pavan,

It is very easy actually - use the table item with one single column being the PatientData and rotate the layout of the Table (right click on the table cell - rotate layout option). In the sample I simulate the header with an external textbox which is anchored Left and Right to the parent Panel item so that it stretches according to the Table item. I was not sure this was required for your scenario, so if not only use the Table.

All the best,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
Tags
General Discussions
Asked by
Pavan
Top achievements
Rank 1
Answers by
Steve
Telerik team
Pavan
Top achievements
Rank 1
Share this question
or