jQWidgets Forums

jQuery UI Widgets Forums Lists ListBox Filtering Data on click of checkboxes in a jqxlistbox

Tagged: 

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

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

  • Vivek
    Participant

    Hi,

    I am designing a search results page in which i am using jqxTabs to show results from various data sources.

    In the search results I am showing 3 Things a {link, description & source}. Triplet of these 3 things.

    Now here is my real problem I want to implement filters for the search results for which i am using a jqxListbox with the name of the datasources which can be checked and unchecked.

    I want that when i check a particular data source in the listbox my search results should be filtered according to the source value.

    Can anyone suggest me a way to implement this filter.

    EX:-

    —————————————————————————————
    | Tab1 | Tab2 |
    —————————————————————————————
    Results:-
    ==============
    JqxListbox |
    ==============
    source1 |
    |
    source2 |
    |
    ————–

    source:- source1

      Switches EOL

    switches are the devices…..

    source:- source2

      Cisco Switches

    cisco switches are the…….

    source:- source1

      juniper Switches

    networking switches are the…….
    ————————————————————————————-

    When i check “source1” in the listbox then i want only the search results which have source= source1 to be only displayed.
    Can anyone please help me out on this.

    I know its a bit different problem but i want to implement it this way.

    Please help me out.

    Thanks in advance.


    Peter Stoev
    Keymaster

    Hi Vivek,

    If you want to change the ListBox’s Source, you should set the widget’s source property. Example: http://jsfiddle.net/75B4K/

    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.