handling array as a table data and headerFilter.plugin (#12926)

This commit is contained in:
Vladimir Chernov
2020-10-15 19:20:59 +03:00
committed by GitHub
parent 52e7bcdf09
commit a88669677f
4 changed files with 103 additions and 38 deletions

View File

@@ -94,6 +94,9 @@ export function slickGridDataItemColumnValueWithNoData(value: any, columnDef: an
if (typeof displayValue === 'number') {
displayValue = displayValue.toString();
}
if (displayValue instanceof Array) {
displayValue = displayValue.toString();
}
return {
text: displayValue,
ariaLabel: displayValue ? escape(displayValue) : ((displayValue !== undefined) ? localize("tableCell.NoDataAvailable", "no data available") : displayValue)