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

157
Views
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 answers
Answer question

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 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!