Syncfusion.GridConverter.Windows


Syncfusion.GroupingGridExcelConverter Namespace > GroupingGridExcelConverterControl Class > GroupingGridToExcel Method : GroupingGridToExcel(GridGroupingControl,String,ConverterOptions) Method
The source grouping grid.
The destination worksheet.
The converter options.

GroupingGridToExcel(GridGroupingControl,String,ConverterOptions) Method

Exports the grouping grid into excel file. Grid will accept .Net format Strings (Such as "F4" for a number with four decimal places) that are not valid with excel. Hence they will be exported as string instead of format like if you specify the format "F3", then the cell will have the string "F3".
Syntax
'Declaration
 
Public Overloads Sub GroupingGridToExcel( _
   ByVal grouping As GridGroupingControl, _
   ByVal strFileName As String, _
   ByVal options As ConverterOptions _
) 
'Usage
 
Dim instance As GroupingGridExcelConverterControl
Dim grouping As GridGroupingControl
Dim strFileName As String
Dim options As ConverterOptions
 
instance.GroupingGridToExcel(grouping, strFileName, options)

Parameters

grouping
The source grouping grid.
strFileName
The destination worksheet.
options
The converter options.
Exceptions
ExceptionDescription
If grouping or strFileName is null.
If strFileName length is equal to 0.
AssemblyVersion

Syncfusion.GridConverter.Windows: 18.1460.0.36

See Also