Ayaka
Ayaka

Reputation: 217

Get column value to another column in react-table

What I am trying to do is to show the toggle value in another column.

enter image description here

I have this column value and data.

enter image description here

Since, accessor cant be duplicate. Is there another way to show the Toggle value in the Status column?

The Toggle data is updated when toggled, so I just need a way to show it. Thank you.

Upvotes: 0

Views: 1332

Answers (1)

Ayaka
Ayaka

Reputation: 217

Cell: (row) => row.row.original.toggle.toString()

I only this.

Upvotes: 0

Related Questions