Skip to content

What's the equivalent of setfilter in V8? (Table API) #4316

Answered by decayedCell
decayedCell asked this question in Q&A
Discussion options

You must be logged in to vote

Just after asking this I found a nice solution for what I was trying to do

...
table.getAllColumns().forEach((column) => {
    if (column.id === 'country') {
      column.setFilterValue('Italy');
    }
});
...

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alexandre-embie
Comment options

Answer selected by decayedCell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants