Gossamer Forum
Home : Products : DBMan : Customization :

Export To Excel Mod: Only Export Certain Columns

Quote Reply
Export To Excel Mod: Only Export Certain Columns
Don or Eliot (or anyone else who is an expert with this mod):

How do I modify the Export to Excel Mod so that I can output only certain non-admin columns instead of all non-admin columns?

I need to be able to use this mod for reports. For example, I only want to export the Job Name Column and the Quote Price Column. That way, when I export it to excel, I have only the info I want to work with. Then I can set up a math function in Excel to total the quote price column to see what the $ amount quoted for the month was.

An even better solution would be for the user to select any number of columns which they want to export from the search page. That way, if I wanted to only export the & amount quoted without the Job Name, then I can choose to do so.

If possible, can someone please post the sample code here?