I am trying to create dnd'able rows in a table that is populated by and API. I am able to select and drag a row, but don't see rows float to new position as I drag row across droppable region. When I drop the row I get an error saying cannot read property of undefined for one of the values fetch from the API for that row.
First screenshot is what the table body looks like. One row with a username that is not a draggable. The remainder of the rows below that, up until the next user, are draggable elements (only one shown). And totals data in a subsequent row that is not a draggable.
Second screenshot is the error after dropping a row.
I am trying to create dnd'able rows in a table that is populated by and API. I am able to select and drag a row, but don't see rows float to new position as I drag row across droppable region. When I drop the row I get an error saying cannot read property of undefined for one of the values fetch from the API for that row.
First screenshot is what the table body looks like. One row with a username that is not a draggable. The remainder of the rows below that, up until the next user, are draggable elements (only one shown). And totals data in a subsequent row that is not a draggable.
Second screenshot is the error after dropping a row.