Dojo form.FilteringSelect store doesn't get filled immediately -


i dynamically create dojo.form.filteringselect component this:

new dijit.form.filteringselect({         id: 'form_resselect',         name: 'resselect',         store: store,         style: {width: '250px'}     }, resourcecontainer ); 

i have noticed store gets filled after clicking on widget on rendered form. there properties can fix immediate or doing wrong?

assuming store itemfilereadstore, can call _forceload function on store.

var store = ... store._forceload();  new dijit.form.filteringselect({     id: 'form_resselect',     name: 'resselect',     store: store,     style: {width: '250px'} }, resourcecontainer ); 

Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -