I use $this->crud->enableExportButtons() to export automatically. But it can only export the list, not the details. Is there any other way to export the data together with it's details row?
Expected to be able to export all including the details row in a PDF
Export buttons work only on the data table's retrieved results(1st page only). While each item's details row is another Ajax request. It can't export that's not fetched already.
I recommend creating a custom operation if you want to export a PDF.
You can try the following packages to generate PDFs with ease and use one of them inside your custom operation: