Hi sushrut.sawarkar,
To set the selected index based on a value, you can use this:
// get all items.var items = $("#jqxWidget").jqxComboBox('getItems');// find the index by searching for an item with specific value.var indexToSelect = -1;$.each(items, function (index) { if (this.value == "Blido Comidas preparadas") { indexToSelect = index; return false; }});$("#jqxWidget").jqxComboBox({ selectedIndex: indexToSelect });
To set the ComboBox’s Text to a custom value, you can do this:
$("#jqxWidget").find('input').val("My Value");
Best Regards,
Peter Stoev
jQWidgets Team
http://www.jqwidgets.com