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
Problem when binding a list of strings to multiple columns
Re: Problem when binding a list of strings to multiple colum
Hello,
You can try to use the Cross-Data component for this task.
Thank you.
You can try to use the Cross-Data component for this task.
Thank you.