You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2010/08/08 17:47:16 UTC

[jira] Updated: (PIVOT-572) Add ability to close all entries in accordion component

     [ https://issues.apache.org/jira/browse/PIVOT-572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown updated PIVOT-572:
-----------------------------

    Fix Version/s: 2.1
                       (was: 2.0)

I just looked into this. I now remember that this was done by design. Unlike TabPane, Accordions are not currently designed to be collapsible (the primary use case for accordions is to always have one panel open, except when the accordion is empty).

It is possible to support this feature, but will involve updating the skin to animate the expand/collapse transition when going from no selection to a selected panel. Deferring to 2.1.



> Add ability to close all entries in accordion component
> -------------------------------------------------------
>
>                 Key: PIVOT-572
>                 URL: https://issues.apache.org/jira/browse/PIVOT-572
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>         Environment: I don't believe this to be platform dependent
>            Reporter: Timothy Daly
>            Priority: Minor
>             Fix For: 2.1
>
>
> Setting the selectedIndex will expand the specified section of the accordion component.  There may be reason to have the ability to specify that no section be opened (all closed).  Currently setting the selectedIndex to -1 does not throw an exception but it does however display a bizarre empty section.  As a suggestion you may want to allow -1 to instead be used to say 'no section should be open'.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.