Problem when binding a list of strings to multiple columns

Jump to: Board indexPublicTalks

Сonversation on different topics

Problem when binding a list of strings to multiple columns

Post Mon Aug 28, 2017 1:57 pm

We are trying to build a proof of concept, we have a list of objects of type ClientProducts

The client product objects contains 2 properties :
- ClientName of type string
- List<ProductName> ProductNames of type List<String>

The report format should the following :

ClientName ProductName1 ProductName2 ProductName3 ProductName...

By convention, the number of ProductNames per client is constant, so every client has the same number of client products as any other one in the list, so if client A has 3 products, client B will have 3. But the number of products per client by itself is variable and can vary from 1 till n.
So, we need to bind the List<ClientProducts> to the report , as the number of productNames can vary, we need to create kind of a pivot in Stimulsoft.
Thank you for your help
kamoz1982
 
Posts: 1
Joined: Fri Aug 25, 2017 2:09 pm

Re: Problem when binding a list of strings to multiple colum

Post Tue Aug 29, 2017 11:08 am

Hello,

You can try to use the Cross-Data component for this task.

Thank you.
Alex K.
 
Posts: 6278
Joined: Thu Jul 29, 2010 2:37 am


Return to Talks

Who is online

Users browsing this forum: No registered users and 1 guest

cron