This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 9 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • tigerA155
    Participant

    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.


    Hristo
    Participant

    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 Hristov

    jQWidgets team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.