Nick-The-Uncharted / tablefilter-swing

Automatically exported from code.google.com/p/tablefilter-swing
1 stars 1 forks source link

setAutoChoices(AutoChoices.Enum) does not work #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 luismp...@gmail.com on 4 Apr 2011 at 6:11

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

Original comment by luismp...@gmail.com on 4 Apr 2011 at 6:16

GoogleCodeExporter commented 9 years ago
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 comment by coderazzi on 6 Apr 2011 at 12:21

GoogleCodeExporter commented 9 years ago
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 comment by coderazzi on 7 Apr 2011 at 5:35

GoogleCodeExporter commented 9 years ago

Original comment by coderazzi on 14 Nov 2011 at 11:13