Skip to content
Snippets Groups Projects
Commit 78b48f20 authored by Neuber, Eugen Ramon's avatar Neuber, Eugen Ramon :speech_balloon: Committed by Reiter, Christoph
Browse files

Remove all rows on set_datatable(data)

parent 8e696c7b
No related branches found
No related tags found
No related merge requests found
...@@ -91,7 +91,7 @@ class DataTableView extends LitElement { ...@@ -91,7 +91,7 @@ class DataTableView extends LitElement {
if (data) { if (data) {
this.data = data; this.data = data;
} }
this.table.rows.add(this.data).draw(); this.table.clear().rows.add(this.data).draw();
} }
update(changedProperties) { update(changedProperties) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment