From 324dccc83d8582a1d7bc3c5b0e0104c35586dc76 Mon Sep 17 00:00:00 2001
From: HarshilPatel007
Date: Tue, 4 Mar 2025 11:55:35 +0530
Subject: [PATCH] ref: remove the custom toggle row expansion function
---
examples/vue/grouping/index.html | 1 -
examples/vue/grouping/src/App.vue | 11 +----------
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/examples/vue/grouping/index.html b/examples/vue/grouping/index.html
index e160e46247..dcd696757f 100644
--- a/examples/vue/grouping/index.html
+++ b/examples/vue/grouping/index.html
@@ -5,7 +5,6 @@
Vite App
-
diff --git a/examples/vue/grouping/src/App.vue b/examples/vue/grouping/src/App.vue
index ce24dfd8a6..cec2b82770 100644
--- a/examples/vue/grouping/src/App.vue
+++ b/examples/vue/grouping/src/App.vue
@@ -131,15 +131,6 @@ const table = useVueTable({
},
})
-// Toggle row expanded state
-const toggleRowExpanded = (id: string): void => {
- const currentExpanded = expanded.value as Record
- expanded.value = {
- ...currentExpanded,
- [id]: !currentExpanded[id],
- }
-}
-
// Group by status
const groupByStatus = (): void => {
grouping.value = ['status']
@@ -211,7 +202,7 @@ const clearGrouping = (): void => {