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

how to have a textbox data next to each other. not in new rows

1 Answer 80 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Iman
Top achievements
Rank 1
Iman asked on 19 Jul 2016, 01:15 PM
hi.
I have a report that have 1 group, in detail of this group i have 1 textbox that get data from sqldatasource. i want this textbox to show data next to each other but it shows them in seprated rows.
for example this textbox should show all names.
supposed:
Dave     Matt     Nick     Beth
Jack      ......
But result is:
Dave
Matt
Nick
....
How can i solve this?
Regards

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 22 Jul 2016, 08:21 AM
Hi Iman,

A custom solution I can suggest you is to reorganize the layout:
  1. Add a Table item in the GroupHeaderSection;
  2. Make the table display the desired Field;
  3. Set the Table.DataSource via binding like:
    Property Path: DataSource
    Expression: = ReportItem.DataObject
    This will get the data associated with the container of the Table item (the current group's data). For more details check How to use the ReportItem.DataObject property in expressions.
  4. Select the Table item and its Rotate Layout option in the Context Menu - the item will start growing horizontally.


I hope this helps.

Regards,
Stef
Telerik by Progress
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 Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Iman
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or