vitmalina/w2ui — pull request #777 by natxocc (2014-12-29 16:08:17+00:00)
Title: New method exportData(Data, type, showFields)

Can export JSON Data to an 'xls' or 'csv' file.
Compatible with Chrome, Firefox, Opera, IE 10+, IE 9- (Safari not tested)

Data : {}. Can be any data you want to export (records, columns, custom, etc...). For example assign : 'this.records' to export
type : string. Extension of file name 'xls' or 'csv' are possible. By default 'excel' format is done on array
showFields : boolean (optional). Insert field names on top of the file data. By default 'false'