Tabulator Filter

Perhaps my last answer was a little bit short (posted on the go), sorry for that

What I wanted to suggest. You can place a dropdonw widget as a field selector and type together with an input widget for the value and collect the outputs (perhaps in flow context). A button widget can then send a command to activate the filter function of tabulator:

Example:

The javascript code: table.setFilter("age", ">", 10); translate to this message to be send to ui-table to activate the filter

{"payload":{
    "command":"setFilter",
    "arguments":[
        "age",
        ">",
        "10"
    ],
    "returnPromise":false
    }
}

Note: I have not tested the code.

1 Like