jQWidgets Forums

jQuery UI Widgets Forums Grid How to support comboBox in filter header column?

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

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

  • nicole
    Participant

    Hi,

    Currently grid support filter type: “input”, “checked list”, “dropdown”, “checkbox” and “calendar”.
    In my project, it need combo box component in filter header column.

    Codes as:

    $("#table-filter").jqxGrid(
                    {
                        width: 850,
                        source: dataAdapter,
                        showfilterrow: true,
                        filterable: true,
                        selectionmode: 'multiplecellsextended',
                        columns: [
                            {text: 'Name', columntype: 'textbox', filtertype: 'list', datafield: 'name', width: 215},
                            { text: 'Qty.', datafield: 'quantity', filtertype: 'list',  cellsalign: 'right',  ---if use 'custom'??
                                createfilterwidget: function (column, columnElement, widget) {
                                    widget.jqxComboBox();
                            } }
                        ]
                    });
    

    My questions are:
    1. if use ‘custom’ filtertype, it will throw exception – “Uncaught TypeError: widget.jqxComboBox is not a function”!!
    Why??
    2. how to fill combo box with filter items automatically? And how to trigger filter table function when click combo box item.

    So thanks for your help!


    Peter Stoev
    Keymaster

    Hi nicole,

    ComboBox is not supported as filtering option in the filter row. We will consider it for future jqxGrid versions.

    Best Regards,
    Peter Stoev

    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.