简体   繁体   中英

Vue-tables-2 - setting up initial filtering

I'm using vue-tables-2 for my Vue.js app and I'm wondering if there is a possibility to set up (programatically) default (initial) filters that are applied once table is rendered?

I would like to avoid finding that DOM's element and firing click element on that dropdown to set up those filters.

Use the initFilters option. See documentation here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM