Questions tagged [react-virtualized]

React components for efficiently rendering large lists and tabular data

React Virtualized helps to efficiently render large lists and tabular data by only rendering items that are visible.

Useful links:

525 questions
4
votes
1 answer

Vertical scrollbar visibility in react-virtualized table

When using react-virtualized's Table class with a table with many columns, it is necessary to scroll horizontally to the very end of the columns in order to be able to see the vertical scrollbar. (you can see an extremely similar question about…
dWitty
  • 494
  • 9
  • 22
4
votes
1 answer

How do I scroll to a row in a list of rows using React?

I was using React-virtualized table and it has a very useful prop called scrollToIndex that was doing the job. However, I had to get rid of the library and use my own JSX. Now I have a big list of projects as follows:- render() { …
Ziko
  • 919
  • 2
  • 10
  • 22
4
votes
0 answers

How do detect end of scrolling event in react-virtualized?

Is it possible (if yes - how) to detect end of scrolling event in react-virtualized if Grid.state.scrollPositionChangeReason = 'requested' ? It is easy to detect end of scrolling event if Grid.state.scrollPositionChangeReason = 'observed', because…
4
votes
1 answer

React Virtualized Auto Scroll Issue

I am using react-virtualized v-9.21.2 to display a list, I am having an issue on insertion of a new item, upon inserting a new item to the list I am clearing the cache and updating the listkey to auto resize the height, otherwise, the new added item…
Ahmed Imam
  • 1,315
  • 2
  • 19
  • 42
4
votes
2 answers

Prevent FlatList re-rendering causing performance problems

I'm building a React Native App using Hooks and ES6. The Home screen fetches some data from API and display it as image galleries. The Home screen is the parent component which includes a slideshow gallery and a Flatlist as children. 1) Slideshow -…
4
votes
1 answer

react-window fixedSizeGrid with react-window-infinite-loader

I tried to use react-window's fixedSizeGrid with react-infinite-loader. As mentioned it's issue, infinite-loader does not support fixedSizeGrid for the infinite load. So i found onItemsRendered override method. Now i am trying to render data with it…
Zorig
  • 585
  • 1
  • 10
  • 26
4
votes
0 answers

React-virtualized AutoSizer - cannot set ref

Trying to set ref to use it in component method, but it's not defined. If I move ref definition outside AutoSizer, then it works without issues.
this ref CAN be access in component's method …
Anton
  • 1,898
  • 3
  • 18
  • 27
4
votes
1 answer

How add horizontal scrollbar to table in react-virtualized (CodeSandBox)

In this table I want to add some colums with widths. If columns are more width than page, the horizontal scrollbar doesn't show. How to remake example from sandbox and add horizontal scrollbar? Is to possible doing this by Table…
Peter
  • 499
  • 10
  • 30
4
votes
1 answer

React Virtualized table with CellMeasurer is not calculating the height properly

I have a strange issue going on. The react-virtualized table with CellMeasurer is not calculating the height properly. My render function looks something like this :-
Shivratna Kumar
  • 1,311
  • 1
  • 8
  • 18
4
votes
2 answers

How to troubleshoot row height adjustment with expandable rows with react virtualized list?

I'm using expandable panels (Material-UI) in rows with a react virtualized list and have been having issues with the heights auto-adjusting. I've read several SO posts and some issues on dynamic row heights on the react-virtualized site, but I have…
Luke
  • 781
  • 2
  • 8
  • 11
4
votes
1 answer

react-virtualized scrollToIndex not working on List

When attempting to scrollToIndex the screen goes blank. Here's a codesandbox that reproduces the problem. Just type 100 in the input box on top and click the "scroll to row" button. https://codesandbox.io/s/zr2r2wp1x It's a somewhat complicated…
Bob Glass
  • 465
  • 3
  • 12
4
votes
1 answer

react-virtualized InfiniteLoader/List - working example using AJAX

I'm doing a React/Redux project, and need to implement a virtualized/infinite-loading list. react-virtualized seems intended to do the job, but even after reading all of the available docs and reading a number of StackOverflow posts, I haven't been…
donp
  • 41
  • 2
  • 3
4
votes
2 answers

Forward Parent onWheel to Scroll Table

I have an outer parent
container that contains a
element. I'd like to be able to scroll the
on the onWheel event of the parent
element, even if the mouse is not currently over the
. I have a ref to the…
arb
  • 7,753
  • 7
  • 31
  • 66
4
votes
1 answer

Resetting row heights causes incorrect row offset to get calculated

Inside of an InfiniteLoader I have a List, whose rowRenderer callback creates a
wrapped by CellMeasurer (I'm also using a cache for that). The rows can vary wildly in size, but this setup is working well for scrolling purposes. However,…
4
votes
1 answer

Using react-sortable-hoc with react-virtualized Grid

I want to use react-sortable-hoc with react-virtualized's Grid where the rows are sortable. I cannot use the List as I have multiple columns and I cannot use it with the Table because I have too many columns and therefore need horizontal…
kraenhansen
  • 1,535
  • 2
  • 15
  • 26