From 24e101b7aac06930f8690257959c433d0c031650 Mon Sep 17 00:00:00 2001 From: j-dimension Date: Tue, 5 Dec 2023 16:43:16 +0100 Subject: [PATCH] added default row sorter. close #2216 --- .../jlawyer/client/editors/reporting/DynamicTablePanel.form | 1 + .../jlawyer/client/editors/reporting/DynamicTablePanel.java | 1 + 2 files changed, 2 insertions(+) diff --git a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/reporting/DynamicTablePanel.form b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/reporting/DynamicTablePanel.form index 12d583497..72c775c8f 100644 --- a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/reporting/DynamicTablePanel.form +++ b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/reporting/DynamicTablePanel.form @@ -62,6 +62,7 @@ + diff --git a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/reporting/DynamicTablePanel.java b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/reporting/DynamicTablePanel.java index 19b601e26..bb5de06cf 100644 --- a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/reporting/DynamicTablePanel.java +++ b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/reporting/DynamicTablePanel.java @@ -727,6 +727,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) { } }); + tblResult.setAutoCreateRowSorter(true); tblResult.setModel(new javax.swing.table.DefaultTableModel( new Object [][] { {null, null, null, null},