glideapps / glideapps/glide-data-grid

Row filtering

Open
#1,002 5 comments 4 reactions 0 assignees View on GitHub
package:source type:docs type:enhancement
Dominant language
TypeScript
Stars
5.3k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

We are currently filtering rows by adding a `hidden` property to rows that we want to hide. In the `rowHeight` prop we set the hidden row's height to 0. So, something like: `rowHeight={(index) => (data[index]?.hidden ? 0 : 34)}`. This produces the result that we want, but we noticed with larger data sets (around 25,000) rows there are performance issues. Is there are a better way to go about filtering rows? If not, it would be amazing to have this functionality!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.