Only override grid column widths in table block when they are defined
This commit is contained in:
parent
e1bc9d54f1
commit
ae863a6e16
|
@ -90,9 +90,11 @@
|
||||||
columns.forEach((column, idx) => {
|
columns.forEach((column, idx) => {
|
||||||
overrides[column.field] = {
|
overrides[column.field] = {
|
||||||
displayName: column.label,
|
displayName: column.label,
|
||||||
width: column.width,
|
|
||||||
order: idx,
|
order: idx,
|
||||||
}
|
}
|
||||||
|
if (column.width) {
|
||||||
|
overrides[column.field].width = column.width
|
||||||
|
}
|
||||||
})
|
})
|
||||||
return overrides
|
return overrides
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue