Forums

OverviewFelgo 2 Support (Qt 5) › example of filter list with ranges of values or NOT operator

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23479

    jrrobles79

    Is there an example of how to filter a list between ranges or with operators >, <, !=, >= , <=??

    I want to filter a list of elements that I receive where event_type != 500 but I haven’t found an example of how to do that only with values equals

     filters: [
              ValueFilter {
                roleName: "event_type"
                value: {
                    console.debug("filtering:"+  event_type)
                    event_type != 500
                }
                enabled: true
              }]

     

    #23480

    Peter
    #23486

    jrrobles79

    well I was asking using the filters, to loop through the results is how I get it working right now

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

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support