From 38bee8a26fcd9791514882e81c85ca7e90a8cd03 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Tue, 9 Jun 2026 18:09:51 +0200 Subject: [PATCH] move ensure_column_defs calls up to avoid ensure_column_defs call if run is not found --- stand/aggridx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stand/aggridx.py b/stand/aggridx.py index 6bc7a7f..0d8270e 100644 --- a/stand/aggridx.py +++ b/stand/aggridx.py @@ -26,8 +26,8 @@ class aggridx(ui.aggrid): append any missing columns on the right side of the table this operation maintains the current view on the data """ - self.ensure_column_defs(row) row_index = self.row_id_to_index(row_id) + self.ensure_column_defs(row) self.set_row_data(row, row_index) def update_row(self, row_id, row): @@ -36,8 +36,8 @@ class aggridx(ui.aggrid): append any missing columns on the right side of the table this operation maintains the current view on the data """ - self.ensure_column_defs(row) row_index = self.row_id_to_index(row_id) + self.ensure_column_defs(row) self.update_row_data(row, row_index) def append_row(self, row):