Disabling cell formatting, it is currently incompatiable with cell/row conditions in grids and to avoid breaking those for now we are removing the capability until both can be a aligned to use the same mechanism of binding evaluation.
This commit is contained in:
parent
b4086e1187
commit
5df197a36e
|
@ -3089,12 +3089,6 @@
|
||||||
"type": "tableConditions",
|
"type": "tableConditions",
|
||||||
"label": "Conditions",
|
"label": "Conditions",
|
||||||
"key": "conditions"
|
"key": "conditions"
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"label": "Format",
|
|
||||||
"key": "format",
|
|
||||||
"info": "Changing format will display values as text"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -7691,8 +7685,7 @@
|
||||||
{
|
{
|
||||||
"type": "columns/grid",
|
"type": "columns/grid",
|
||||||
"key": "columns",
|
"key": "columns",
|
||||||
"resetOn": "table",
|
"resetOn": "table"
|
||||||
"nested": true
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -105,7 +105,7 @@
|
||||||
order: idx,
|
order: idx,
|
||||||
conditions: column.conditions,
|
conditions: column.conditions,
|
||||||
visible: !!column.active,
|
visible: !!column.active,
|
||||||
format: createFormatter(column),
|
// format: createFormatter(column),
|
||||||
}
|
}
|
||||||
if (column.width) {
|
if (column.width) {
|
||||||
overrides[column.field].width = column.width
|
overrides[column.field].width = column.width
|
||||||
|
|
|
@ -173,5 +173,6 @@ const evaluateConditions = (row: UIRow, conditions: UICondition[]) => {
|
||||||
// Swallow
|
// Swallow
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
console.log(metadata)
|
||||||
return metadata
|
return metadata
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue