Skip to content

How to have a custom wrapper for every n amount of rows? #5612

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

You must be logged in to vote

Answering my own question, I was able to solve that by identifying if the row has subrows, and rendering a different component instead of rendering the actual row component. I also used some css tricks to add borders around each row to make it look like they're inside a "card" even though it's a flat list.

Replies: 1 comment

Comment options

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