I want to be able to filter items being displayed in my table block using a property from the data itself.
Say I have a list of items I’m getting from my custom backend and custom postgres database, it returns a JSON array like
[ { id: 1, type: “small”}, { id: 1, type: “large”}, … so on ]
This will be displayed in the table block connected to the REST API data source, now I want to filter the records displayed by the type property, I then add a filter dropdown and connected the “type” property.
When I did the above, I noticed that nothing happens when I click the option on the filters, I expected the list to be narrowed down by for example only type “large” when I click on the large option on the filter, unlike with the other examples using other data sources, the filters seem to work out of the box, am I missing something here?
Is the table filter using client side rendering or server side rendering? Do I have to do update my backend API to make it work? Any thoughts for those who has the same use case? Thanks in advance!