Does anyone have a best practice example of how to create a dynamic component with two dimensions. For example the js data to a table, where you can have x amount of columns and y amount of rows - with dynamic input types e.g. text, number, dropdown.
var comparisonTableCarouselJSON = {
tableColumns: [
{
columnData: [
{
cellType: "label",
text: "Test 3",
richText: "",
tickBox: "",
},
]
},
{
columnData: [
{
cellType: "label",
text: "Test 3",
richText: "",
tickBox: "",
},
]
},
{
columnData: [
{
cellType: "label",
text: "Test 3",
richText: "",
tickBox: "",
},
]
}
]
}