react-table-v7 Questions

9

Solved

I am trying to implement react table with just one row selectable at at time. I have gone through a lot of examples for multiple rows selection in a react table but in my case, the user can select ...

4

I am trying out react-table in create-react-app project (version ^7.0.25). I am using the exact example from their quick start documentation. However, I am getting a type error between the accessor...
Quicksilver asked 7/12, 2020 at 13:22

2

Solved

I'm using the react-table package. I made a simple table with row selection. The problem is: The row selection result is an object with indexes: { 0: true, 1: true, ... } But I want to be the p...
Derisible asked 25/11, 2021 at 16:2

3

I have the following requirements to my table: Table should have fixed header It needs to autosize: for infinite scroll to work the first fetch should get sufficient amount of data for scroll to a...

5

Solved

The documention for useSortBy sortType properties says: sortType: String | Function(rowA: <Row>, rowB: <Row>, columnId: String, desc: Bool) Used to compare 2 rows of data and order th...
Boomkin asked 16/9, 2020 at 20:40

1

Am trying to keep the state of selected checkboxes for a react-table v7. I have a checkbox that can select multiple rows at once and works great, the issue is the table can't maintain that state on...
Saddlebacked asked 11/2, 2022 at 18:7

3

Solved

In the latest version (7.5.x) of React-Table, when using the Material-UI Table components, is there a way to remove the 'Toggle sortBy' tooltip from the column header? Two tooltips I have a tooltip...
Enterogastrone asked 30/8, 2020 at 14:42

2

I'm using react-window to create virtual tables with react-table 7 (and material UI tables). I'm embedding FixedSizeList instead TableBody. Something like this: <TableBody {...getTableBodyProps...
Buddleia asked 11/9, 2020 at 21:9

2

I am trying to make react table scrollable horizontally and vertically but right now it is taking all the space according to the data. I want to make this table of fixed height and scrollable in bo...
Ailing asked 9/11, 2021 at 11:26

2

So I have a JavaScript class with useTable. In Java script its been used like below import {useTable, useFilters,useAsyncDebounce,useSortBy,usePagination,} from "react-table"; const {get...

2

I'm looking for an easy and clean way to make all rows to be auto-expanded when using react-table v7. When I map all the data to true and set it as an initial state, it does not expand my rows. con...
Lame asked 7/6, 2021 at 17:36

2

Solved

I am making the interactive table using react-table on my application. My goal is to make a table that can be editable per row when clicking on a button in a table cell. I designed an EditableCell ...
Bluish asked 7/10, 2020 at 6:33

1

I am using react-table. I'd like to know the difference between useBlockLayout, useAbsoluteLayout and useFlexLayout. And what case can use these hooks in?
Freeboot asked 8/8, 2021 at 15:54

0

I have a react-table v7 (with sticky header and footer) which renders thousands of virtualized rows using react-window. A new requirement needs the table to have sticky columns as well but I cannot...
Hesiod asked 21/5, 2021 at 1:28

3

Solved

I got a react Table that I want to delete or modify my data. My code is below for all my cells. deleteTableElement = (row) => { let data = this.state.list.data; data.splice(row.id, 1); this....
Kidderminster asked 26/4, 2021 at 7:33

1

thanks for your help in advance. The problem that I am trying to solve is to create a table with react-table v7 and within that table using the expand and display another table with data related to...
Elzaelzevir asked 12/3, 2021 at 23:26

1

Solved

I see in previous versions that you can access it using : const columns = [ { Header: "Name", accessor: "name", Cell: (e) => { return e.original.name; } } ]; But in v...
Anele asked 20/3, 2021 at 11:14

2

I've been following https://blog.logrocket.com/complete-guide-building-smart-data-table-react/. To apply custom styling depending on cell value, I'm updating the column object like so: return { He...
Macruran asked 25/8, 2020 at 23:23

2

Solved

How can I filter table data on the basis of a range of dates? setting filter to date column here: const tableInstance = useRef(null); const filterTable = (dates) => { if (tableInstance.current...
Paleozoic asked 22/12, 2020 at 14:23

1

I'm trying to implement a date range filter in my React-table. When I'm changing the start or end date, it triggers the filter function, creating the min and max date but when it finishes no dates ...
Cityscape asked 18/10, 2020 at 7:6

1

Solved

I am using react-table component inside my project. The row expansion property is something that my features utilized and it is working fine now. I need the ability to collapse all the rows while ...
Psychogenic asked 18/3, 2020 at 13:17
1

© 2022 - 2024 — McMap. All rights reserved.