Closed icflorescu closed 2 years ago
I seriously considered baking the feature right into the component, I always have to implement it in my own projects.
But there's simply no way to accommodate every usage scenario out there.
Most of the times you'd have to deal with pagination, sorting, asynchronous loading; sometimes you'd have to place a search box or custom filtering criteria selectors in the header of your website/application (in fact, that's what I end up doing for most of my commercial projects).
And in real-life you'd do the actual filtering in an server API most often.
The responsibilities and areas of control are most of the times spread across your application's UI and architectural layers, and trying to fit all this in a standard component design and behavior would constrain the developer, IMO.
Unless you're trying to rebuild Excel😄
That being said, adding a few examples on the docs website would be useful.
...as suggested in the Mantine discord channel...