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

2 posts, 0 answers
  1. Iman
    Iman avatar
    4 posts
    Member since:
    May 2016

    Posted 19 Jul Link to this post

    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.
    Dave     Matt     Nick     Beth
    Jack      ......
    But result is:
    How can i solve this?
  2. Stef
    Stef avatar
    2930 posts

    Posted 22 Jul Link to this post

    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.

    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
  3. DevCraft banner
Back to Top