jQWidgets Forums

jQuery UI Widgets Forums Grid Suggest like Input box above the 'Checked Boxes' filters lists

This topic contains 3 replies, has 2 voices, and was last updated by  neha 9 years, 8 months ago.

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

  • neha
    Participant

    Hi JQXGrid Team,

    I am using JQXWidgets3.8.2. I have used filtertype ‘checkedlist’ on some columns in jqxGrid.

    I want to know if there is any feature resembling MSExcel filters (having a Input box above the ‘Checked Boxes’ lists), where user can type in initial characters and ‘Checked Box’ lists of values in gets filtereds (as Suggestion Box). User can further select values to filter.

    e.g. Data is given below:-
    Chocolate1
    Chocolate2
    Chocolate3
    Coffee1
    Coffee2
    Coffee3
    Tea1
    Tea2
    Tea3

    Please see the screen shot attached.

    Excel like filter

    As depicted in screenshot, the ‘filtermode : excel‘ option is not the feature we need.

    Please let us know if there is any such feature OR some way to custom implement it.

    Thanks
    Neha


    neha
    Participant

    Looks like screenshot is not attached.

    Description is :
    for data shown above, if users enters ‘Ch’ in Filter suggestion input box, the checked boxes list
    shopuld show only :

    Chocolate1
    Chocolate2
    Chocolate3

    and user can select any one of them. Such that ‘getfilterinformation’ method will return checked values and NOT the typed ‘Ch’


    Vladimir
    Participant

    Hello neha,

    You can try to add filterable option to the checkedlist filter.

    Here is a sample on how you can do it, this is a sample column note the createfilterwidget declaration:

                      { text: 'Product', filtertype: 'checkedlist', filteritems: ['Black Tea', 'Green Tea', 'Caffe Latte'], datafield: 'productname',
                          createfilterwidget: function (column, columnElement, widget) {
                              widget.jqxDropDownList('filterable', true);
                          }
                      }

    Though it may not work correctly.
    Other than that I don’t think there is another way to do it.

    Best Regards,
    Vladimir

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


    neha
    Participant

    Thanks Vladimir.

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

You must be logged in to reply to this topic.