diff --git a/src/BIMDataComponents/BIMDataTable/BIMDataTable.vue b/src/BIMDataComponents/BIMDataTable/BIMDataTable.vue index 69a8addb..78fea552 100644 --- a/src/BIMDataComponents/BIMDataTable/BIMDataTable.vue +++ b/src/BIMDataComponents/BIMDataTable/BIMDataTable.vue @@ -12,9 +12,7 @@ @@ -278,6 +276,14 @@ export default { } ); + const selectionState = computed(() => + rowSelection.value.size < props.rows.length + ? rowSelection.value.size > 0 + ? null + : false + : rowSelection.value.size > 0 + ); + const toggleRow = row => { if (props.selectable) { toggleRowSelection(row); @@ -470,6 +476,7 @@ export default { displayedColumnFilterId, filteringColumns, filters, + selectionState, sortObject, // Methods awayFromFilter,