Bodie
03/12/2024, 10:55 AM{
"Row": {
"0": "Row 0 Cell 0 data",
"1": "Row 0 Cell 1 data"
},
"Row 1": {
"0": "Row 1 Cell 0 data",
"1": "Row 1 Cell 1 data"
}
}
However the user can create tables with various numbers of columns, so for a 4 column the data needs to look like this:
{
"Row": {
"0": "Row 0 Cell 0 data",
"1": "Row 0 Cell 1 data",
"2": "Row 0 Cell 2 data",
"3": "Row 0 Cell 3 data"
},
"Row 1": {
"0": "Row 1 Cell 0 data",
"1": "Row 1 Cell 1 data",
"2": "Row 1 Cell 2 data",
"3": "Row 1 Cell 3 data"
},
}
Any good ideas for the property editor in this instance?
Simple way would be for them to have a different property editor for tables with 1, 2, 3 or 4 columns.
However feels like there should be a better way.
Thanks!Craig100
03/12/2024, 5:24 PMBodie
03/13/2024, 9:56 AMkdx-perbol
03/13/2024, 12:53 PMA hub and casual space for you to interact with fellow community members and learn more about Umbraco!
Powered by