I would suggest looking at either the Excel Export or CSV modules—both of which can generate data files:
I hope this helps!
Add a separate button in the template grid and use one of the modules as conner suggested. My suggestion would be Excel Exporter module.
There is a good example in the learning path "importing and exporting data". Check it out, it shows you how you can customize what data to export using the excel exporter module.