Export to csv

The grid data can be exported to CSV format file by passing format: 'csv' to exportData method.

Selected rows can be exported by passing selection: 'row' parameter to exportData method.

Default separator is comma i.e., , in the exported csv. A different separator can be used by passing separator parameter e.g., separator: "\t" to make it tab separated format.