1

I'm using vue-good-table plugin in laravel-vuejs project. I've a table and I want to display group wise row data through this option (:group-options): and now my question is how can we only expand particular parent row when click on it multiple time. we want it to only expanded but not collapse. if we load application then first time it will collapse, it's right.

  <vue-good-table
    ref="MyCoolTable"
    :columns="columns"
    :rows="rows"
    @on-row-click="toggleExpansion"
    :group-options="{
      enabled: true,
      collapsable:true
    }"
  /> 

**App Methods**
methods: {
    toggleExpansion(row,index) {

    }
}

Thank you.

Sachi
  • 11
  • 1

0 Answers0