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) => {
|
||||
overrides[column.field] = {
|
||||
displayName: column.label,
|
||||
width: column.width,
|
||||
order: idx,
|
||||
}
|
||||
if (column.width) {
|
||||
overrides[column.field].width = column.width
|
||||
}
|
||||
})
|
||||
return overrides
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue