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.