|
Title: Add item to combobox Post by: arma on June 27, 2014, 10:45:39 PM Hi,
How could i add an item/option to combobox? In grid i could simply add item using mygrid.datagrid('appendRow', data), but i could not find in the jeasyui doc for combobox. Thanks Title: Re: Add item to combobox Post by: jarry on June 27, 2014, 11:43:23 PM You could prepare all the data items and then call 'loadData' method to re-bind the new data.
Code: var data = $('#cc').combobox('getData');Title: Re: Add item to combobox Post by: arma on June 28, 2014, 12:00:04 AM That's perfect. Thank you.
|