Mail: [email protected] Phone: +1(628) 800-7750

Declare Custom Crud Export Columns

When using the Crud columns, NexoPOS provides a basic export feature that uses the defined columns for exporting to CSV. However, it might be suitable if we're able to define custom columns that don't appear on the Crud table but only on the exported file.

This is possible thanks to the property "exportColumns". From there, you'll define the columns that will be available during exportation either on the __construct method or any other method called from the __construct method.