coderazzi / tablefilter-swing

TableFilter is a set of Swing components to support user-driven filtering on table.
https://coderazzi.net/tablefilter
MIT License
7 stars 2 forks source link

Question : Restore Filter setting #50

Closed ollih1980 closed 2 years ago

ollih1980 commented 2 years ago

Hi,

is it possible to restore a filter after updating the the data of a JTable?

Thx a lot!

coderazzi commented 2 years ago

Hi, what do you mean with "restoring" a filter?

On Tue, Jan 4, 2022 at 11:07 PM ollih1980 @.***> wrote:

Hi,

is it possible to restore a filter after updating the the data of a JTable?

Thx a lot!

— Reply to this email directly, view it on GitHub https://github.com/coderazzi/tablefilter-swing/issues/50, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH54INU7V3DUBOZHQW7TATUUNVRDANCNFSM5LIO2RNA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

ollih1980 commented 2 years ago

Hi,

I tried to store the filter settings during JTable refresh. I just found a way to manage this via : filterHeader.getFilterEditor(x).getContent();

Thx a lot!