Skip to content

Build your personal knowledge base with Trilium Notes

chore(views/table): set row ID as index

Elian Dorana31ac17792f4
diff --git a/apps/client/src/widgets/view_widgets/table_view/index.ts b/apps/client/src/widgets/view_widgets/table_view/index.ts
index b413f60bc0..3267e96c5b 100644
--- a/apps/client/src/widgets/view_widgets/table_view/index.ts
+++ b/apps/client/src/widgets/view_widgets/table_view/index.ts
@@ -94,6 +94,7 @@ export default class TableView extends ViewMode<StateInfo> {
const info = getPromotedAttributeInformation(this.parentNote);
this.api = new Tabulator(el, {
+ index: "noteId",
columns: buildColumnDefinitions(info),
data: await buildRowDefinitions(this.parentNote, notes, info)
});