]> git.proxmox.com Git - extjs.git/blame - extjs/build/examples/classic/multiselect/multiselect-demo.html
add extjs 6.0.1 sources
[extjs.git] / extjs / build / examples / classic / multiselect / multiselect-demo.html
CommitLineData
6527f429
DM
1<!DOCTYPE html>\r
2<html>\r
3<head>\r
4 <meta http-equiv="X-UA-Compatible" content="IE=edge">\r
5 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />\r
6 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">\r
7 <title>MultiSelect &amp; ItemSelector</title>\r
8\r
9 <!-- ExtJS -->\r
10 <script type="text/javascript" src="../shared/include-ext.js"></script>\r
11 <script type="text/javascript" src="../shared/options-toolbar.js"></script>\r
12\r
13 <!-- Shared -->\r
14 <link rel="stylesheet" type="text/css" href="../shared/examples.css" />\r
15\r
16 <!-- Example -->\r
17 <script type="text/javascript" src="multiselect-demo.js"></script>\r
18\r
19 <!-- GC -->\r
20\r
21\r
22</head>\r
23<body>\r
24 <h1>MultiSelect &amp; ItemSelector</h1>\r
25 <p>The js is not minified so it is readable. See <a href="multiselect-demo.js">multiselect-demo.js</a>.</p>\r
26\r
27 <h2>MultiSelect</h2>\r
28 <p>MultiSelect is a form field type that allows selection of one or more items from a list. The list is\r
29 populated using a data Store. Items can be reordered via drag and drop if <code>ddReorder:true</code> is set.</p>\r
30 <p>This example has <code>allowBlank:false</code> so a validation error will appear when the item's selections\r
31 are cleared. Validations for <code>minSelections</code> and <code>maxSelections</code> can also be applied.</p>\r
32 <div id="multiselect" class="demo-ct"></div>\r
33\r
34 <h2>ItemSelector</h2>\r
35 <p>ItemSelector is a specialized MultiSelect field that renders as a pair of MultiSelect field, one with\r
36 available options and the other with selected options. A set of buttons in between allows items to be\r
37 moved between the fields and reordered within the selection. Items can also be moved via drag and drop.\r
38 All the same validations as MultiSelect are supported.</p>\r
39 <div id="itemselector" class="demo-ct"></div>\r
40</body>\r
41</html>\r