Generate multiple tables whose number of columns may vary
Posted: Wed Feb 26, 2020 4:34 pm
In process of developing a report that emulates an existing report. The 'Stimulsoft1' attachment is a photo of the 'Test Results' section for which I would like to emulate in the report designer.
. For this report example, the 'Test Results' section happens to have 4 tests in total and a 'table' for each test. Each test (e.g. Test No: 5791) can contain one or more row(s) and each test type( e.g. Test: 'Quench & Temper Line Info') has a variety of columns that vary between different test types.
Outside of the context of the report designer, the data for the 'Test Results' section is being pulled from a database and each entry in the result set has the following information, (testNo, rowIndex, columnIndex, columnLabel, value). This data has the ability to be transformed (e.g. create multiple tables from the cell data) before being loaded into the data dictionary of the report.
I'd like some guidance on how to consecutively render 'tables' whose number of columns may vary.
What components would I need to accomplish this?
I have the ability to transform the data before it is loaded into the data dictionary of the report; how should the data be structured?
Anything else to consider?
--- Update 2/27/2020 ---
The 'Stimulsoft_tesetAndColumn.mrt' attachment is an empty report whose data dictionary has a datasource named 'EvaluatedTransform' that contains 2 tables; the first table 'EvaluatedTransform' contains information regarding (testNo, columnIndex, columnLabel) and the second table 'EvaluatedTransform_rows' contain information regarding (value, rowIndex). The 'data_testAndColumn.json' attachment represents the denormalized data before it is normalized and loaded into Stimulsoft.
The 'Stimulsoft_testAndRow.mrt' attachment is an empty report whose data dictionary has a datasource named 'EvaluatedTransform' that contains 2 tables; the first table 'EvaluatedTransform' contains information regarding (testNo, rowindex) and the second table 'EvaluatedTransform_columns' contain information regarding (value, columnIndex, columnLabel). The 'data_testAndRow.json' attachment represents the denormalized data before it is normalized and loaded into Stimulsoft.
. For this report example, the 'Test Results' section happens to have 4 tests in total and a 'table' for each test. Each test (e.g. Test No: 5791) can contain one or more row(s) and each test type( e.g. Test: 'Quench & Temper Line Info') has a variety of columns that vary between different test types.
Outside of the context of the report designer, the data for the 'Test Results' section is being pulled from a database and each entry in the result set has the following information, (testNo, rowIndex, columnIndex, columnLabel, value). This data has the ability to be transformed (e.g. create multiple tables from the cell data) before being loaded into the data dictionary of the report.
I'd like some guidance on how to consecutively render 'tables' whose number of columns may vary.
What components would I need to accomplish this?
I have the ability to transform the data before it is loaded into the data dictionary of the report; how should the data be structured?
Anything else to consider?
--- Update 2/27/2020 ---
The 'Stimulsoft_tesetAndColumn.mrt' attachment is an empty report whose data dictionary has a datasource named 'EvaluatedTransform' that contains 2 tables; the first table 'EvaluatedTransform' contains information regarding (testNo, columnIndex, columnLabel) and the second table 'EvaluatedTransform_rows' contain information regarding (value, rowIndex). The 'data_testAndColumn.json' attachment represents the denormalized data before it is normalized and loaded into Stimulsoft.
The 'Stimulsoft_testAndRow.mrt' attachment is an empty report whose data dictionary has a datasource named 'EvaluatedTransform' that contains 2 tables; the first table 'EvaluatedTransform' contains information regarding (testNo, rowindex) and the second table 'EvaluatedTransform_columns' contain information regarding (value, columnIndex, columnLabel). The 'data_testAndRow.json' attachment represents the denormalized data before it is normalized and loaded into Stimulsoft.