Load records on button click
I want to loan records into the table only when a button is click. I dont want the default behavior of populating the table just when a resource is opened. Please help?
Solution:Jump to solution
Set an eloquent query to have a where query, that id < 0. Then when button is clicked you set a session or apply a filter and use this value to determine if the where should be applied or not.
2 Replies