diff --git a/components/lib/datatable/HeaderCell.vue b/components/lib/datatable/HeaderCell.vue index 430390669..a10b41bd7 100644 --- a/components/lib/datatable/HeaderCell.vue +++ b/components/lib/datatable/HeaderCell.vue @@ -213,7 +213,7 @@ export default { }, context: { index: this.index, - sortable: this.column.props.sortable === '' || this.column.props.sortable, + sortable: this.column?.props?.sortable === '' || this.column?.props?.sortable, sorted: this.isColumnSorted(), resizable: this.resizableColumns, size: this.$parentInstance?.$parentInstance?.size,