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

166
Visualizações
I need to get the values and counts for each group from the Tabulator groupHeader to my js and html file

I am using Tabulator to log stock alerts from my trading software. I am using Grouping, which groups all alerts for the same stock into one group. I want to get the stock symbol value and each group row count into my js file and/or html file. This data in on the groupHeaders bar and in the Tabulator grouping Module, but I am not smart enough to get it separated to be able to use in my auto-trading bot file. Thanks for help.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

You can get an array of Group Components from the table by calling the getGroups function:

var groups = table.getGroups();

You can then itterate over each group. the group componenet has a getKey function that will return the value that the rows in that group are grouped by. and a getRows function that will return an array of the rows from that group.

var groups = table.getGroups();

groups.forEach((group)=>{
    var key = group.getKey();
    var rowCount = group.getRows().length;
});

You can then do whatever you like with that data

about 4 years ago · Juan Pablo Isaza Relatório
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