extjs3 - Not able to set value for Ext.ux.form.MultiSelect in ExtJs 3.4 -
i using extjs 3.4.
when set value ext.ux.form.multiselect, getting error.
"uncaught typeerror: cannot read property 'clearselections' of undefined in multiselect.js:245".
if have clear selected values in "ext.ux.form.multiselect" before setting selected values, how can that.
please give suggestions this.
if mean this component, in setvalue
method there call this.view.clearselections()
, , causes issues. view
created in onrender
method. combo not rendered when call setvalue
.
i see 3 solutions:
- ensure combo rendered when call
setvalue
- check combo rendered; call
setvalue
when is, assignvalue
when isn't - override
multiselect
, fix it
Comments
Post a Comment