EasyUI Forum
April 26, 2024, 08:39:27 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Initialize a combobox without firing onChange event  (Read 3403 times)
gordis gmbh
Full Member
***
Posts: 103


View Profile Email
« 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
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 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);
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!