Published
Edited
May 4, 2021
1 fork
Insert cell
md`# Library : ListElement cell

The \`ListElement\` cell accepts value and label arrays, presents them in a table.
It is instantiated given a single options object to specify parameters.
Given a \`selectAction\`, changes are provided immediately.
Give a \`saveAction\`, an 'update' button is aded to the presentation.
Where selections are managed, an additional check box checks/unchecks all entries.
A click in the header collapses and expands the presentation.

The presentation is provided as the value of the \`html\` attribute.
`
Insert cell
Insert cell
selectedString = selectedList.join(",")
Insert cell
mutable selectedList = [];
Insert cell
viewList = ["view1", "view2", "view2", "view2",
"view2", "view2", "view2", "view2", "view2", "view2",
"view2", "view2", "view2", "view2"];
Insert cell
Element = import('https://nl4.dydra.com/javascripts/ui/lib/element.js')
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more