dojox.form.CheckedMultiSelect load async store and default select all after loaded

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

dojox.form.CheckedMultiSelect load async store and default select all after loaded

vtsuper
http://download.dojotoolkit.org/release-1.12.2/dojo-release-1.12.2/dojox/form/tests/test_CheckedMultiSelectNonDropDown.html

from the following example, how to make sure the CheckedMultiSelect will default select all the options after fully load the async store????(my real situation is using RequestMemory from https://github.com/kfranqueiro/dojo-smore rather than ItemFileReadStore)

<script>
readStore = new ItemFileReadStore({data:lang.clone(data)});
</script>
<select data-dojo-id="ms4" multiple="true" size="5" name="ms4" store="readStore" data-dojo-type="dojox.form.CheckedMultiSelect"></select>