⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

pesonalized csv columns



superdan

superdan
  • profile picture
  • Member

Posted 26 August 2013 - 13:42 PM

Hi there

 

it would be beautifull to customize columns of the csv report.

I know is already possible by

 

$this-grocery_crud->columns();

 

But i would like to show certain columns in html view and others (different) in csv file.

It would be nice to have a method like

$this-grocery_crud->csvcolumns();

 

is that possibile?

If yes is it possibile to make a join only for csv and not for html columns?

 

thanks so much

Regards

 

 

 

 

 


edramirez

edramirez
  • profile picture
  • Member

Posted 12 November 2013 - 13:32 PM

You will make your life easier if you separate the two tasks. One task for display only and another task for display and export to csv. It's impractical to do additional programming just to combine the two tasks.

 

Regards,

 

Ed Ramirez