Do we have to create exporters for each list having different columns but of the same model?
I have created StudentExporter to export excel file of relation manager table and this table is being used under different resources, where columns with conditions to show on specific resource and hide otherwise. Then if someone wants to export the table, they will get the columns define in exporter. Is there any way we can tell exporter what columns needs to be exported?
1 Reply
If you store the columns selected in the session for the resource, on the exporter you could check if there is a session selection in session and then only show export columns based on selection 🙂