How do I access the filtered data of a table

Hi @Georges_El_Khoury Thanks for checking in!

The displayedData property is not included in the new table :confused: There's some discussion on the reasoning for this here (tldr it helps with performance if we only expose the necessary data by default and then allow frontend sorting and filtering within the table).

That said, there are certainly use cases where you'd want to download or query only the data currently displayed in the table.

We have a feature request internally for tracking cases where users need the .displayedData and we may add it in the future.

Some builders have gone with the method of having end user select rows & then download the selectedRows data. This works well for tables that have multiple row selection

Otherwise, you can use a Javascript query or transformer to filter/sort/etc against the table data. I've included a partial example here

1 Like