From b88d1c9f9382a913e8ff2469f91482f9ae8213f9 Mon Sep 17 00:00:00 2001 From: Colin Maudry Date: Sat, 27 Sep 2025 18:16:53 +0200 Subject: [PATCH] =?UTF-8?q?Pagination=20derniers=20march=C3=A9s=20#28?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/acheteur.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/acheteur.py b/src/pages/acheteur.py index 5b14664..7db212b 100644 --- a/src/pages/acheteur.py +++ b/src/pages/acheteur.py @@ -101,7 +101,9 @@ def get_last_marches_table(data) -> html.Div: table = html.Div( className="marches_table", children=dash_table.DataTable( - data=data[:20], + data=data, + page_action="native", + page_size=10, style_cell_conditional=[ { "if": {"column_id": "objet"},