jQuery UI Widgets Forums Lists ListBox Filtering on multiple items

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Filtering on multiple items #71904

    Chris99
    Participant

    Hi,

    I have a listbox with filtering and custom rendering, just like your example . As far as I can see the only difference is that instead of a simple array I have an array of objects something like

    [{ id: 1, invoicenumber: "INV108855", vendornumber: "WIL109004", vendorname: "Williams Electronic", goodsamount: 100.0, currency: "GBP" },
    

    { id: 2, invoicenumber: “INV466652”, vendornumber: “HAR109022”, vendorname: “Harris Paper Associates”, goodsamount: 1370.0, currency: “GBP” },
    `{ id: 3, invoicenumber: “INV649367”, vendornumber: “HUG109030”, vendorname: “Hughes Instrumentation”, goodsamount: 3176.0, currency: “EUR” } ]

    In order to get the filtering to work I had the listbox’s displayMember to one of the object properties, eg “vendorname”. Is there a way of either
    a) Applying the filter to multiple properties?
    b) Applying the filter to the content of listbox produced by my custom renderer?

    Thanks for your time,

    Chris

    • This topic was modified 8 years ago by  Chris99.
    Filtering on multiple items #71957

    ivailo
    Participant

    Hi Chris,

    That kind of functionality is not supported in jqxListBox.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    Filtering on multiple items #71958

    Chris99
    Participant

    Okay Ivailo.

    I will have to work around it by making the the displayMember that is used configurable.

    Cheers,

    Chris

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

You must be logged in to reply to this topic.