diff --git a/sao/src/view/tree.js b/sao/src/view/tree.js index a8a935b0e1..c10a082eec 100644 --- a/sao/src/view/tree.js +++ b/sao/src/view/tree.js @@ -1070,7 +1070,7 @@ } else { width = column.col.data('default-width'); } - if (width.endsWith('%')) { + if (width && width.endsWith('%')) { width = parseInt(width.slice(0, -1), 10) / 100; if (column.attributes.expand) { width /= parseInt(column.attributes.expand, 10);