blob: 3d01bb92c1cd47db5e493bf3450545fd60278c1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
////
|