Feature #528

Dropdown button set

Added by Davide Principi almost 10 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:09/30/2011
Priority:NormalDue date:10/07/2011
Assignee:-% Done:

100%

Category:nethserver-nethgui
Target version:Sigma
Resolution: NEEDINFO:

Description

Add support to drop down a group of buttons.

See http://jqueryui.com/demos/button/#splitbutton

Button list

    [ Button 1 ] [ Button 2 ] [ Button 3 ]

Button set

    [ Button 1 | Button 2 | Button 3 ]

Button drop-down panel

Normal:

    [ Button v ]

User clicks the button:

    [ Button v ]
    +--------------------+
    |                    |
    | // panel contents  |
    |                    |
    +--------------------+

Button set with limit

Normal (limit set to 1):

    [ Main Action | v ]

User clicks on "v":

    [ Main Action | v ]
    +--------------------+
    | Action 2           |
    | Action 3           |
    | Action 4           |
    +--------------------+

Panel contents can be buttons, links or any other widget.


Related issues

Related to Nethgui - Task #551: Show again the first button of a drow-down Buttonset widget CLOSED 10/12/2011

Associated revisions

Revision d2d71212
Added by Davide Principi almost 10 years ago

Refs #528. Pushed control mockups into UI documentation

Revision 3ecb0bef
Added by Davide Principi almost 10 years ago

Refs #528. Added Buttonset implementation.

Usage:
  • Create an elementList widget with BUTTONSET flag.
  • Set the "limit" with the "maxElements" attribute.
  • Create and insert() the buttons.

History

#1 Updated by Davide Principi almost 10 years ago

  • Start date changed from 09/28/2011 to 09/30/2011

#2 Updated by Davide Principi almost 10 years ago

  • Due date set to 10/07/2011

#3 Updated by Davide Principi almost 10 years ago

  • Subject changed from Dropdown button group to Dropdown button set
  • Status changed from NEW to ON_DEV
  • Assignee set to Davide Principi
  • Target version changed from LiveDemo1 to Sigma

#4 Updated by Davide Principi over 9 years ago

  • Status changed from ON_DEV to MODIFIED

Also available in: Atom PDF