Opened 5 years ago

Last modified 4 years ago

#18947 new enhancement

select all method on dojox.form.CheckedMultiSelect

Reported by: vtsuper Owned by:
Priority: low Milestone: 1.14
Component: DojoX Form Version: 1.12.1
Keywords: Cc:
Blocked By: Blocking:


I extended the dojox.form.CheckedMultiSelect? and create a select all method. Hoped that someone can put it into the offical release.

define(["dojo/_base/declare", "dojox/form/CheckedMultiSelect","dojo/_base/array"],
function(declare, CheckedMultiSelect, array) {
	return declare("CheckedMultiSelect", [CheckedMultiSelect], {
		selectAllSelection: function(onChange){
			// copy from invertSelection()
				array.forEach(this.options, function(i){
					i.selected = true;

Change History (2)

comment:1 Changed 5 years ago by dylan

Milestone: tbd1.13
Priority: undecidedlow

@vtsuper, care to create a pull request via github for consideration for 1.13?

comment:2 Changed 4 years ago by dylan

Milestone: 1.131.14
Note: See TracTickets for help on using tickets.