aboutsummaryrefslogtreecommitdiffstats
path: root/documentation/datamodel/datamodel-selection.asciidoc
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2016-07-18 11:01:45 +0300
committerArtur Signell <artur@vaadin.com>2016-08-04 17:17:02 +0300
commit7a3ba5b563e742c800c0d0c58695bbed88381578 (patch)
tree7e988364815442431c3b75d9694cdc2cdb03cbc7 /documentation/datamodel/datamodel-selection.asciidoc
parent3abd26bf5a763e480266da7bffa17b64a38cb2ab (diff)
downloadvaadin-framework-7a3ba5b563e742c800c0d0c58695bbed88381578.tar.gz
vaadin-framework-7a3ba5b563e742c800c0d0c58695bbed88381578.zip
Replace old data binding chapters with updated ones
* Add documentation about Fields for the data binding chapter * Add documentation about form binding for the data binding chapter * Add documentation about data sources for the data binding chapter Change-Id: I99297f2ebd3d874bd78569fd8d05bc649654c91d
Diffstat (limited to 'documentation/datamodel/datamodel-selection.asciidoc')
-rw-r--r--documentation/datamodel/datamodel-selection.asciidoc20
1 files changed, 20 insertions, 0 deletions
diff --git a/documentation/datamodel/datamodel-selection.asciidoc b/documentation/datamodel/datamodel-selection.asciidoc
new file mode 100644
index 0000000000..3d01bb92c1
--- /dev/null
+++ b/documentation/datamodel/datamodel-selection.asciidoc
@@ -0,0 +1,20 @@
+---
+title: Selecting items
+order: 5
+layout: page
+---
+
+[[datamodel.selection]]
+= Selecting items
+
+////
+TODO
+
+* A Listing may let the user mark one or several of its items as selected.
+* Some listings only support having one item selected at a time
+** Code example: Setting, getting and reacting to events from a NativeSelect
+** Design question: Is nullSelectionAllowed a feature of each component or a feature of the selection model?
+* Other listings can be configured to allow selecting one or many items. Depending on how it is configured, it uses a different selection model type for working with the selection.
+** Code example: OptionGroup in single / multi mode. Using different selection model types to access the selection.
+** Code example: Using each selection model type with a Binder
+////