Skip to content

Commit a0e6542

Browse files
committed
remove keyboard integration
1 parent ef690d3 commit a0e6542

File tree

1 file changed

+0
-16
lines changed
  • packages/sit-onyx/src/components/OnyxDataGrid/features/base

1 file changed

+0
-16
lines changed

packages/sit-onyx/src/components/OnyxDataGrid/features/base/base.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { createDataGrid } from "@sit-onyx/headless";
21
import { computed, h, ref, toValue } from "vue";
32
import OnyxHeadline from "../../../OnyxHeadline/OnyxHeadline.vue";
43
import type { DataGridHeadline } from "../../types.js";
@@ -31,12 +30,6 @@ export const BASE_FEATURE = (options?: BaseFeatureOptions) =>
3130
const rowCount = ref(0);
3231
const selectedCell = ref();
3332

34-
const {
35-
elements: { table, td, tr },
36-
} = createDataGrid({
37-
selectedCell,
38-
});
39-
4033
const headline = computed(() => {
4134
const _headline = toValue(options?.headline);
4235
if (!_headline) return;
@@ -65,15 +58,6 @@ export const BASE_FEATURE = (options?: BaseFeatureOptions) =>
6558
return Array.from({ length: skeletonCount }, (_, i) => ({ id: i }));
6659
},
6760
},
68-
enhanceRow: {
69-
func: (row) => ({ trAttributes: tr({ rowId: row.id }) }),
70-
},
71-
enhanceCells: {
72-
func: (cell, entry) => ({
73-
tdAttributes: td.value({ rowId: entry["id"], colKey: cell.props.column }),
74-
}),
75-
},
76-
tableAttributes: () => table.value,
7761
scrollContainerAttributes: () => ({
7862
class: skeleton.value ? "onyx-data-grid--skeleton" : "",
7963
tabindex: -1,

0 commit comments

Comments
 (0)