buttonGroup: Creates a button group component

Description Usage Arguments Value See Also Examples

Description

Creates a button group component

Usage

1
2
3
buttonGroup(inputId, lstItems, selectedItems = list(),
  activeColor = "green", inactiveColor = "light gray",
  impliedColor = "orange", label = "")

Arguments

inputId

id for the button group component. The selected groups will be returned to input$inputId

lstItems

list with all items to display in the buttun group

selectedItems

items which will be initialy selected in the button group

activeColor

color for selected items

inactiveColor

color for inactive items

impliedColor

color for the special status 'implied' This status is uesfull in the context of the filter app. In the filter app there will be multiple button groups and certain selections can imply the absence of items on other groups.

Value

A button group input control that can be added to a UI definition.

See Also

Other buttongroup: resetButtonGroup; updateButtonGroup

Examples

1
buttonGroup('btnGroup',list('A','B','C'),selectedItems=list('A','B'))

ttraboue/frissbutton documentation built on May 17, 2019, 8:18 a.m.