Skip to content

How to iterate section and table cells? #2163

Closed Answered by dolanmiu
danieltan007 asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think you're doing it right, spread it using ...

try this:

rows: [...Object.keys(item.ekstra).map((ekstra, index) => {
  return new TableRow({
    ....
  })
}),
]

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@danieltan007
Comment options

@dolanmiu
Comment options

Answer selected by dolanmiu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants