How to iterate section and table cells? #2163
-
hello,
for iterating section is like this?
for the table cell, i want to iterate at the the dataList.ekstra with table cell
i got an error: typeError: r is not iterable is there any way to iterate the section and table cell? |
Beta Was this translation helpful? Give feedback.
Answered by
dolanmiu
Jun 10, 2023
Replies: 1 comment 2 replies
-
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({
....
})
}),
] |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
dolanmiu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't think you're doing it right, spread it using
...
try this: