Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

383
Views
Vue JS Accordion Performance with Bootstrap and B-Modal

I have a large Table. I am using Bootstrap and implementing the Accordion structure with "b-accordion". When I want to update the data in any Row, I am experiencing an incredible loss of performance. I am using Modal to edit rows. (B-MODAL)

My table content is like this. When the row is clicked, the Accordion below opens. enter image description here

Table Generate Code..

<tbody>
    <template v-for="(item, index) in pageArray">

      // Table Row
      <tr :key="`tableTr-${item.recordNo}`">
        <td :id="`accordion-${item.recordNo}-1`" v-b-toggle="`collapse-${item.recordNo}`">
          <a class="text-dark">{{ item.recordNo }}</a>
        </td>
        // Likewise the other 13 Columns.
      </tr>

      // Accordion Row
      <tr :key="`tableSubTr-${item.recordNo}`" class="subtr">
        <td colspan="14">
          <b-collapse :id="`collapse-${item.recordNo}`">
            <div class="container-fluid">
             ....
            </div>
          </b-collapse>
        </td>
      </tr>

    </template>
</tbody>

Now let's get to the real problem. When I start the EDIT process for any Row, Vue Developer Tools draws a performance like the one below. The low performance ones are all because of the Model I opened.

enter image description here enter image description here enter image description here

B-MODAL I made as a Component

 props: { thisObject: Object }
  <b-modal v-model="isModal" centered hide-footer hide-header size="xl" @hide="$emit('closeModal', true)">
    {{thisObject}}
  </b-modal>

UPDATE

I realized that the problem is not Button related, it is triggered when non-v-b-toggle TD's are pressed. However, I still can't find a solution.

enter image description here

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!