data to separate with a comma

2 posts, 0 answers
  1. Ase
    Ase avatar
    2 posts
    Member since:
    Sep 2013

    Posted 30 Oct 2014 Link to this post

    Hi,

    I am creating a standalone report that gets data from my datasource. But when I generate my report it will display the data in one column that occupy a lot of space (see attached file)

    Ex:

    00001
    00002
    00003
    00004
    00005

    Is there a way where the data can be displayed in  a row separated by a comma? Ex: 00001,00002,00003,00004....

    Thanks
  2. Stef
    Admin
    Stef avatar
    3053 posts

    Posted 04 Nov 2014 Link to this post

    Hello Ase,

    Depending on the data scope, you can use the built-in functions as Sum  on string fields or Join on a field representing collection property.

    Other approach is to use user function where the passed argument will be a collection property or the data item's DataSource (ReportItem.DataObject) or the data is retrieved in the function.


    I hope the above information is helpful.

    Regards,
    Stef
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
Back to Top