jQWidgets Forums

jQuery UI Widgets Forums Grid Dropdownlist Column in Grid

This topic contains 3 replies, has 2 voices, and was last updated by  Dimitar 12 years, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Dropdownlist Column in Grid #9289

    sreeni379
    Member

    Hi,

    This is regarding dropdown list column in grid.

    On change of dropdown list, I would need the ID of the selected item along with the value. Please suggest on how to bind the dropdown list column with ID and value. And also help in fetching the ID of the selected item of dropdownlist.

     

    Thanks

    Dropdownlist Column in Grid #9341

    Dimitar
    Participant

    Hello sreeni379,

    To manually work with jqxDropDownList, which acts as a cell editor, you may set the createeditor property in columns, which lets you manipulate the widget used as an editor for a given column. Here is the example for createeditor from jqxGrid’s documentation:

    { text: 'Product', columntype: 'dropdownlist', datafield: 'productname', width: 177,
    createeditor: function (row, cellvalue, editor) {
    var dataSource = ['Cappuccino', 'Caramel Latte', 'Caffe Espresso'];
    editor.jqxDropDownList({source: dataSource });
    }
    }

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Dropdownlist Column in Grid #9343

    sreeni379
    Member

    Hi Dimitar,

    In grid can i have Ajax Auto complete text box using in grid using jquery ,user enter text based on list items has to display. It possible in cut some column create Ajax Auto-complete using jquery. If it is possible can suggested me.

    Thanks
    Sreeni

    Dropdownlist Column in Grid #9344

    Dimitar
    Participant

    Hello Sreeni,

    If you are asking about an autocomplete cell editor, it is not available to jqxGrid as of version 2.4.2.

    However, if you mean filtering the whole jqxGrid dynamically through AJAX, please take a look at the demo Toolbar.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.