jQuery UI Widgets › Forums › Editors › Input, Password Input, TextArea, ColorPicker, Rating, TagCloud, Loader › jqxInput bind to remote data and auto open …
Tagged: Angular input, bootstrap input, combine, DropDownList, javascript input, jQuery Input, jqwidgets input, jqxinput
This topic contains 1 reply, has 2 voices, and was last updated by Hristo 9 years, 2 months ago.
-
Author
-
Hello, please HELP.
`$(“#proc”).jqxInput({height: 20, width: 200,
displayMember:”f40_desc”,
valueMember: “f40_proc_id”,
minLength:1,
source: function(key,response){
var dataAdapter = new $.jqx.dataAdapter
(
{
datatype: “json”,
datafields:
[
{ name: ‘f40_proc_id’ },
{ name: ‘f40_desc’ },
{ name: ‘f40_sort_flag’}
],
url: “BMS107V1.jsp”,
data:
{
action:”getProcList”,
//pagesize: 12,
caltotal:0,
aa:’test’,
pagesize:15,
sortdatafield:’f40_proc_id’,
sortorder:”asc”,
pagenum:0
}
},
{
autoBind: true,
formatData: function (data) {
data.startWith = key;
return data;
},
loadComplete: function (data) {
if (data.result.rows.length > 0) {
response($.map(data.result.rows, function (item) {
return {
label: item.f40_proc_id+”-“+item.f40_desc,
value: item.f40_proc_id
}
}));
}
}
}
);
}
}
);$(“#proc”).bind(‘mouseenter’, function () {
var w_isOpened = $(“#proc”).jqxDropDownList(‘isOpened’);
if (!w_isOpened) {
$(“#proc”).jqxDropDownList(‘open’);
}
});
$(“#proc”).jqxDropDownList(‘open’); IS NOT WORKED.Hello tigerA155,
In above code use same element for two different widgets that is not possible.
The widget “jqxComboBox” could to be more useful for Your needs.
Please take a look this example: http://jsfiddle.net/txhi/n9org9v9/Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.