1. Branko Vukelic
  2. toggle-list



ToggleList app

This experiment addresses two design problems.

One is creating a toggle list where each item changes the underlying record's data when selected or unselected.

Another problem we are solving is grouped lists with collapsible headers.

The two problems are solved with two separate classes. The toggle list is the main component shown in the main view, and can be found in www/app/view/ToggleList.js. The other component is found in www/app/dataview/CollapsibleList.js.

The ToggleList component uses a store in www/app/store/Users.js. The latter contains the grouping function and the group header template.