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

152
Views
¿Cómo se pueden deshabilitar las dos primeras columnas del encabezado en vue?

Estoy tratando de deshabilitar la función arrastrable para las primeras 2 columnas. Probé opciones en arrastrable.

 :options="{disabled : 'Subject'}"

pero deshabilita la funcionalidad arrastrable de todos los encabezados

 <thead class="not-as-small helpdesk-ticket-head"> <draggable v-model="headerColumn" tag="tr" v-bind="dragOptions" > <th v-for="(header, index) in selectedColumnsHeader" :key="header.title" :class="{ 'table-data--sticky': stickyColumns(index) }" scope="col" > {{ header.title }} </th> </draggable> </thead>
about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Agregar método en arrastrable: mueva que verifique el título del encabezado si coincide con el tema, devolverá falso y no podrá arrastrar

 <draggable v-model="headerColumn" v-bind="dragOptions" tag="tr" :move="checkHeader" > checkHeader(value) { if (value.draggableContext.element.title == 'Subject') { return false; } return true; }
about 4 years ago · Santiago Trujillo Report
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!