You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the same issue. The addTableFilter.ts file didn't seem to be fed the columnOptions properly.
I'm on the Svelte 4 branch, though, so I can't confirm whether this'd be the case for you too, but I added this simple backup in our fork of this project;
if (!options) {
// Temp. bugfix... Sometimes doesn't get the column options for some reason!
options = cell.column?.plugins?.filter ?? undefined;
}
That did the trick! Not the prettiest fix - should probably dive in and figure out why columnOptions wasn't populated, but we also tried to change the project to allow for filtering and sorting of non-data-cells (display cells).
You can use our fork if you're on Svelte 4 and don't mind being a few versions back. Hope this helps.
I am trying to implement addColumnFilters but it's not working.
When I am logging the filter object, it is empty.
I have followed the documentation for the same.
My Table
Table Colums
When I am logging the filter object
Output
Let me know if I have done any silly mistake here or is there some other issue here. Thanks in advance!
The text was updated successfully, but these errors were encountered: