8

I develop in React.js, and I'm using React-Table. I need to get cell value in a specific column.

I have made a reference to the table component to access its internal state.

but I don't know where to find the cell value from a column.

Is it possible to get cell value on a column?

user3476614
  • 537
  • 2
  • 8
  • 26

1 Answers1

7

When you are creating the columns, for the Cell section you can specify a function which will read the value of the cell

Cell: v => console.log(v.value)

Columns

Jordan
  • 469
  • 1
  • 4
  • 5