Exports the grid data to a csv file.
Public Function ExportToCSV(ByVal FileName As String, Optional ByVal ExportRowHeader As Boolean = False, Optional ByVal ExportColumnHeader As Boolean = False, Optional ByVal ExportHiddenRowColumn As Boolean = False) As Boolean
Grid Object
The following parameters are available:
| Parameter | Description |
| FileName | Path and name of the CSV file to create. |
| ExportRowHeader | A boolean value that identifies whether to export the row header. |
| ExportColumnHeader | A boolean value that identifies whether to export the column header. |
| ExportHiddenRowColumn | A boolean value that identifies whether to export the hidden rows and columns. |
True if successful; otherwise, False.