I\'m using select2
in place of search box.
Here i\'m using to load countries values like this
$(\"#countries\").select2({
multiple:
I just use this http://ivaynberg.github.io/select2/#event_ext_change link and use the trigger function to load the values
$.getJSON('/dataprovider?data=fetchCountriesForm', function(opts) {
parent.parent.parent.showLoader();
if (opts) {
$("#countries").val(opts).trigger("change");
}
This trick load the value in the select box.