jQWidgets Forums

jQuery UI Widgets Forums Grid Filtering

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 10 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Filtering Posts
  • Filtering #56613

    josh
    Participant

    Hi community,
    I want to describe a scenario so that you can help me with insights on how to solve the problem.
    I want a dropdown list that contains some values like: “joshua”,”peter” “james”.
    so when i click on say joshua,there’s a column on grid named event_id.the grid should be filtered by event_ids associated with value (joshua)selected.let’s say if we have the following event id 123,456,678,597,698,6087,708 in column, when i click on joshua the grid is filtered by event_ids that belong to joshua.
    where the values in dropdown are arrays of event_ids as follows:
    var joshua=[“234″,”234″,”596”];
    var peter=[“274″,”230″,”596”];
    var james=[“254″,”034″,”696”];
    An example based on my scenario will be much appreciated.
    will be happy to hear from you( Peter Stoev and Dimitar).
    Regards

    Filtering #56615

    Peter Stoev
    Keymaster

    Hi josh,

    The available filtering options are demonstrated on our website. Please, look at: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/index.htm – the filtering section. Filtering options not demonstrated on that page are not supported. This means that Arrays of Values in DropDowns are not supported by our Grid.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Filtering #56620

    josh
    Participant

    Hi Peter, was looking at http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/index.htm#demos/jqxgrid/filterrowwithcustomitems.htm
    so I thought there’s a way if I click on the dropdown then the associated array will be passed as filteritems e.g if I click on joshua then the filteritems will be [“234″,”234″,”596”] and use this to filter on event_ids column automatically when i select

    Filtering #56621

    Peter Stoev
    Keymaster

    Hi josh,

    Yes, I understand that you need Cascading Filtering DropDownLists, but this is not supported in this widget.

    Best Regards,
    Peter Stoev

    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.