Skip to content
Discussion options

You must be logged in to vote

Nested loops with group by is the easiest way, as another commenter mentioned:

let bigGroup = dv.pages().groupBy(p => p.thing);
for (let item of bigGroup) {
   let subGroup = item.rows.groupBy(p => p.thing2);
  for (let subitem of subGroup) {
     ....
  }
}

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@awlobo
Comment options

@I-Pch
Comment options

@awlobo
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by awlobo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants