From 49f4282195f474dbea03c87a48e0409407349d17 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 26 Dec 2023 15:48:19 +0300 Subject: [PATCH] sortable context added to table header --- components/lib/datatable/HeaderCell.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/components/lib/datatable/HeaderCell.vue b/components/lib/datatable/HeaderCell.vue index 9d4423b6d..bfb2400d4 100644 --- a/components/lib/datatable/HeaderCell.vue +++ b/components/lib/datatable/HeaderCell.vue @@ -212,6 +212,7 @@ export default { }, context: { index: this.index, + sortable: this.column.props.sortable === '' || this.column.props.sortable, sorted: this.isColumnSorted(), resizable: this.resizableColumns, size: this.$parentInstance?.$parentInstance?.size,