jQWidgets Forums
jQuery UI Widgets › Forums › Lists › ComboBox › I didn’t get the input field for jqxcombobox to filter the items in combobox
Tagged: checkbox, combobox, Input, jqxComboBox
This topic contains 5 replies, has 2 voices, and was last updated by Dimitar 12 years ago.
-
Author
-
March 12, 2013 at 12:48 pm I didn’t get the input field for jqxcombobox to filter the items in combobox #16797
Hi frnds,
i am retrieving data from SQL Server,
Here is my code:
var source = {
localdata: zipdata, //my own data
datatype: “json”,
};
async: false
var dataAdapter = new $.jqx.dataAdapter(source);
// Create a jqxComboBox
$(“#lstchktypes”).jqxComboBox({
source: dataAdapter,
width: 150,
height: 25,
displayMember: “Zipcode”,//my own data
valueMember: “Zipcode”,//my own data
theme: ‘summer’,
checkboxes: true,
});If I execute above code I am getting the combobox with items, But when i click on the input field of combobox, It doesn’t allow me to type the text in it, to filter the items… Please provide me solution….
Thanks in Advance….
March 12, 2013 at 1:43 pm I didn’t get the input field for jqxcombobox to filter the items in combobox #16806Hello narendra.pvnb,
This is due to the property checkboxes being set to true. When checkboxes are enabled, the input field of the combobox is disabled and items can only be checked.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/March 12, 2013 at 1:54 pm I didn’t get the input field for jqxcombobox to filter the items in combobox #16810Then is there any alternate way to get the input field for combo box when checkboxes property set to true.?
March 12, 2013 at 2:10 pm I didn’t get the input field for jqxcombobox to filter the items in combobox #16814Hi narendra.pvnb,
You cannot write in the input, but you can get its value. Here is how:
var val = $("#jqxcombobox").jqxComboBox('val');
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/March 12, 2013 at 2:17 pm I didn’t get the input field for jqxcombobox to filter the items in combobox #16816No, not for getting value, I want the functionality for filtering the jqxcombobox with input field in the case when i have many no.of items in the combobox.
Or is there anyway for putting input field externally to jqxcombobox, if i typed text in the textfield then it will dropdown the list of jqxcombobox
Thanks in advance
March 12, 2013 at 2:34 pm I didn’t get the input field for jqxcombobox to filter the items in combobox #16817Hi narendra.pvnb,
This can be achieved by having a combobox with checkboxes: false. Unfortunately, there is no other way.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.