Starfinder Playlist
  1. #1

    Multiple filters on Windowlist

    Hi there, I'm looking for a way to use multiple filters on a Windowlist. I have a set of Windowlist objects using the same database source for all of them and applying a filter to display per Windowlist the relevant skills, i.e. Windowlist 1 shows all skills with group control value "social", Windowlist 2 shows all with "nature"...

    Code:
    <!-- <filter control="filter_group_social" /> -->
    <!-- <filteron control="group" /> -->
    In addition I want to have a search bar used to filter on control "name". If the user is looking for skill "Talent", all skills with a name not matching should be hidden.

    Code:
    <!-- <filter control="skillfilter" /> -->
    <!-- <filteron control="name" /> -->
    I can filter easily using either the group filter or the name filter, but I haven't figured out an elegant way of applying both filters simultaneously. As I can see from the speel reference window in 5E, it should be douable but I didn't find the code how this is accomplished.

  2. #2
    You would have to implement your own "onFilter" function on the windowlist control to support multiple filters.

    Regards,
    JPG

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in