How to fetch current table records in table query
I am building a dynamic table, where I would like to use a list of the current records in the table I have queried. Here is a code snippet of the table I am building:
In my
Because my query could change based on filters in the future, so the easiest would be to fetch the records from the table dirctly.
In my
->afterStateUpdated I would like to fetch and use the the query of all records in the table, without needing to run the query again:Because my query could change based on filters in the future, so the easiest would be to fetch the records from the table dirctly.