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

setAutoChoices(AutoChoices.Enum) does not work #14

Closed coderazzi closed 9 years ago

coderazzi commented 13 years ago

Original report by Anonymous.


On a table with adaptive choices, setting autoChoices as Enum is equivalent to AutoChocies.ENABLED.
On a table without adaptive choices, setting autoChoices as Enum is equivalent to AutoChocies.DISABLED.

Original issue reported on code.google.com by luismpena on 2011-04-04 18:11:03

coderazzi commented 13 years ago

Original comment by Anonymous.


In addition, if the table is AutoChoices.DISABLED (no adaptive choices), setting a filter
editor as AutoChoices.ENUMS doesn't work either.

Original issue reported on code.google.com by luismpena on 2011-04-04 18:16:00

coderazzi commented 13 years ago

Original comment by coderazzi coderazzi (Bitbucket: coderazzi, GitHub: coderazzi).


The behavior of AutoChoices.ENUMS seems definitely wrong when adaptive choices is enabled
(it is effectively equivalent to AutoChoices.ENABLED).

However, if adaptive choices is disabled, the behavior is fine (only booleans and enumerations
will show choices): the added comment and the second sentence on the initial issue
are therefore wrong.

Original issue reported on code.google.com by coderazzi on 2011-04-06 00:21:52

coderazzi commented 13 years ago

Original comment by coderazzi coderazzi (Bitbucket: coderazzi, GitHub: coderazzi).


Solved on version 4.1.3: on a table with adaptive choices, setting autoChoices as Enum
will only produce choices on columns with boolean or enumeration types.

Original issue reported on code.google.com by coderazzi on 2011-04-07 05:35:54

coderazzi commented 12 years ago

Original comment by coderazzi coderazzi (Bitbucket: coderazzi, GitHub: coderazzi).


(No text was entered with this change)

Original issue reported on code.google.com by coderazzi on 2011-11-14 23:13:05

coderazzi commented 9 years ago

Original comment by coderazzi coderazzi (Bitbucket: coderazzi, GitHub: coderazzi).


Already resolved (previously, before migrating to BitBucket)