Hi,
I want to generate a table with n columns and m rows, depending of the data source, I think using the crosstab is the best option, but I don't understand how to pass the datasource.
Data for columns are a list of StartProcess, and data for rows are a list of EndProcess
public class ProcessTreatment()
{
public List<StartProcess> StartProcesses { get; set; } = [];
public List<EndProcess> EndProcesses { get; set; } = [];
}
public class StartProcess()
{
public int Id { get; set; }
public string Code { get; set; }
}
public class EndProcess()
{
public int Id { get; set; }
public string Code { get; set; }
}
I would to show the code of the process for each one.
I tried to bind the datasource [=Fields.ProcessTreatment] at the tab, then put the value [=Fields.StartProcesses] at the column header, but only one column with this "System.Collections.Generic.List`1[OptaPlanning.Business.Reports.StartProcess]" is shown.
Can someone would help me how to insert properly the datasource please ?