I have a large datatable. I have read through documentation and tutorials on how to fetch data from ajax request. The thing is i don't want to fetch the data unless the users clicks on the page. So i want to invoke a method when user clicks on page. Can we customise onclick method on pages? Also without using AJAX, i don't mind reloading page.
p.s. I am using Ruby on Rails 6.1.14. And my data source is using cursor based pagination.
Hi,
Metronic provides you with the frontend solution to display data tables. However, handling the datatable fetching and pagination is a server-side task that is not covered with our support here.
Please refer to Metronic ajax datatable example and official datatable documentation as well.
Regards.