score:0

  const goToLastPage = () => {
    dataTable.current.setState({
      first:
        Math.ceil(results.length / dataTable.current.state.rows) *
        dataTable.current.state.rows - dataTable.current.state.rows
    });
  };

Related Query

More Query from same tag