Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Adding Virtual Rendering to a Table Component #2279

Open
2 tasks done
mastrayer opened this issue May 23, 2024 · 3 comments
Open
2 tasks done

[Feature Request]: Adding Virtual Rendering to a Table Component #2279

mastrayer opened this issue May 23, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@mastrayer
Copy link

mastrayer commented May 23, 2024

Description

I'm experiencing performance issues when rendering large datasets in a table. Could you add functionality to enable virtual rendering using a library like react-virtualized?

Code of Conduct

@mastrayer mastrayer added the enhancement New feature or request label May 23, 2024
@jperals
Copy link
Member

jperals commented May 23, 2024

Hello,

Thanks for your suggestion. Is there a specific reason that you prefer to show all the data at once? Otherwise, using pagination would be our recommended approach.

Also note that we are working on a progressive loading feature (i.e, click to load more items), in case that would help too.

@mastrayer
Copy link
Author

I’m implementing a table to display simulation data. The table should allow sorting by desired values, and therefore, showing all the data at once rather than using pagination seems to provide a better user experience. In this case, wouldn’t Cloudscape’s table be a good example to use?

@jperals
Copy link
Member

jperals commented May 23, 2024

You can still sort if you use pagination. If you have all the items on the client side, the collection hooks package can be helpful. You can take a look at this demo and its source code to see how you can implement this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants