The MultiSelect extension
Ext.ux.form.MultiSelect
is a form field type which allows the selection of one or more items from a list. A list is populated using a data store. Items can be reordered via the drag-and-drop method, if the ddReorder
property of this class is set to true
.
Here, in the following code, a form panel class has been defined, in which the MultiSelect
extension has been used as an item of this form:
Ext.define('Examples.view.multiselect.MultiSelectFormPanel', { extend : 'Ext.form.Panel', alias : 'widget.multiselectformpanel', requires : ['Ext.ux.form.MultiSelect'], constructor : function(config) { Ext.apply(this, { bodyPadding : 10, items : [{ anchor : '100%', xtype : 'multiselect', fieldLabel : 'Multi Select', name : 'multiselect', store : Ext.create('Examples.store.DummyStore'), valueField : 'name', displayField : 'name', ddReorder : true, listeners : { change :...