Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

203
Visualizações
How can I implement header-contextmenu in a table in vuejs?

I saw that element plus tables has a header-contextmenu, but I cannot find any example that demonstrates how to use this feature. If anyone knows how to use this feature, I'll be very grateful if you could tell me or point me to an example.

I am creating a dynamic table using element plus as follows:

<div>
  <el-table :data="d" border style="width: 100%" height="500" @selection-change="handleSelectionChange">
  <el-table-column type="selection" width="55"/>
  <el-table-column  fixed v-for="col in columns" :prop="col.field" :label="col.field" :key="col.field"/>
  </el-table>
  <el-button type="warning" round v-on:click="getdata(selected_data)">Update-Data</el-button>
</div>

I want to add a menu in the columns, which has some fixed options and I want to store whatever the user select's in a variable. I'll be extremely grateful if anyone can suggest me a way to do that or point me to an example.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda