EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: gordis gmbh on March 14, 2018, 04:21:30 AM



Title: Initialize a combobox without firing onChange event
Post by: gordis gmbh on March 14, 2018, 04:21:30 AM
Hello,

How can I initialize a combobox without firing onChange event?

Is there a combobox method, similar to initValue textbox method, that can be called only to initialize combobox?

Thanks


Title: Re: Initialize a combobox without firing onChange event
Post by: jarry on March 14, 2018, 07:10:39 AM
You can call 'initValue' method and then call the 'setValue' method.
Code:
$('#cc').textbox('initValue', 2).combobox('setValue', 2);