Vue-good-table: Clear the selected rows

Created on 12 Jun 2018  路  1Comment  路  Source: xaksis/vue-good-table

Issue Type

  • [x] Question

Specs

What version are you using?

  • [x] 2.6.6

Expected Behavior

Is there any way to clear the selected rows programmatically?
User select rows, press button for action, and in the end it would be nice to clear selection.

Most helpful comment

hey @brokeyourbike, just put a ref on the table and then call unselectAllInternal()

<vue-good-table ref="my-table" ...>
</vue-good-table>

// in your handler
this.$refs['my-table']. unselectAllInternal();

closing.

>All comments

hey @brokeyourbike, just put a ref on the table and then call unselectAllInternal()

<vue-good-table ref="my-table" ...>
</vue-good-table>

// in your handler
this.$refs['my-table']. unselectAllInternal();

closing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mustfullDev picture mustfullDev  路  3Comments

Sharvadze picture Sharvadze  路  4Comments

unixconky picture unixconky  路  4Comments

davidjr82 picture davidjr82  路  6Comments

luizzz picture luizzz  路  6Comments