Nayjest / Grids

Grids framework for Laravel
MIT License
203 stars 77 forks source link

Ignoring columns of Grid in CSV export #187

Open amanmukhtar opened 6 years ago

amanmukhtar commented 6 years ago

I want to ignore some columns of grid in the exported CSV. In ExcelExport, it is possible to ignore columns by using "setIgnoredColumns" function. I do not see such option for CSVExport, how can I implement this?

wdog commented 6 years ago

try creating a new Class that extends CsvExport and then implement the same logic of excel export and use it in the renderCsv method

see #130