开发者

How to set value for extjs combo after combo load?

开发者 https://www.devze.com 2023-03-02 19:15 出处:网络
How to set value for extjs combo a开发者_如何学编程fter combo load? I have a Country combo (I have bind this json store).

How to set value for extjs combo a开发者_如何学编程fter combo load?

I have a Country combo (I have bind this json store).

How to set default value as United States?


There is value property for combobox.

If you know the code for the default value you can try using it.

new Ext.form.ComboBox({
    ...
    value: 'US',
    ...
});
0

精彩评论

暂无评论...
验证码 换一张
取 消