Syncfusion.GridConverter.Windows
The Syncfusion.GridExcelConverter namespace contains classes that implements the GridGroupingExcelConverterControl to import and export the contents of the grid to an Excel sheet.
GridExcelConverterBase is a base class for specific Grid to Excel Converter controls.
Provides Support for Importing the Grid with data's from the spreadsheet.
General format.
Default number format in Grid cell
General format in Excel.
Currency format index in the MS Excel.
Decimal format index in the MS Excel.
Scientific format index in the MS Excel.
Fixed-point format index in the MS Excel.
Number format index in the MS Excel.
Percent format index in the MS Excel.
Date format index in the MS Excel.
Hex format index in the MS Excel.
Maximum zero-based index of the column in MS Excel.
Maximum one-based index of the column in MS Excel.
Maximum zero-based index of the row in MS Excel.
Maximum one-based index of the row in MS Excel.
Maximum one-based index of the column in MS Excel 2007.
Maximum one-based index of the row in MS Excel 2007.
Currency format in the .Net.
Date format in the .Net.
Scientific format in the .Net.
Fixed point format in the .Net.
General format in the .Net.
Number format in the .Net.
Percent format in the .Net.
Hexadecimal format in the .Net.
Default horizontal alignment.
Default vertical alignment.
Right angle value.
Maximum possible angle value.
Angle that corresponds to 90 rotation value in the XlsIO.
Color mask to remove Alpha component.
Default color (white).
Gets the number format in Excel
Pattern style with corresponding ExcelPattern value.
PatternStyle - to - ExcelPattern HashTable.
Initializes a new static instance of the class.
Initializes a new instance of the class.
Creates excel engine.
Newly created ExcelEngine.
The caller of this method is responsible for calling
Dispose on the created ExcelEngine after all workbooks
have been closed and the caller is finished with the engine.
Exports the styles to Excel.
The .
The row index of the grid.
The column index of the grid.
The destination .
Exports the style of grid cell into excel cell.
The .
The row index of the grid.
The column index of the grid.
The style of the grid cell.
The destination .
Exports the style from grid style into range style.
The style of the grid cell.
The destination .
If or is null.
Exports the number format index for a range from specified grid style.
The destination .
The style of the grid cell.
Exports brush settings from grid cell into excel cell.
The style of the grid cell.
The destination .
Exports the font settings from grid cell into excel cell.
The style of the grid cell.
The destination .
Exports borders settings from grid cell into excel cell.
The style of the grid cell.
The destination .
If or is null.
Exports alignment settings from grid cell into excel cell.
The style of the grid cell.
The destination .
Exports border settings from grid border into excel border.
The style of the grid cell.
The destination .
If or is null.
Determines whether styles should be combined for specified cell styles and combines cell's interior, alignment, borders, font, cell type, format to destination cell.
Style which is primary and in which result will be accumulated.
Style to combine.
Value indicating that not all properties were set.
If or is null.
Determines whether borders should be combined for specified cell styles and combines cell's borders to destination cell's borders.
Destination style.
Source style.
True if not all borders in destBorders were set.
If or is null.
Determines whether font should be combined for specified cell styles and combines cell's font to destination cell's font.
Destination style.
Source style.
True if not all font properties in destFont were set.
If or is null.
Determines whether interior should be combined for specified cell styles and combines cell's interior to destination cell's interior.
Destination style.
Source style.
True if not the Interior property in destStyle is set.
If or is null.
Determines whether alignments should be combined for specified cell styles and combines cell's alignment to destination cell's alignment.
Destination style.
Source style.
True if not all font properties in destFont were set.
If or is null.
Determines whether format should be combined for specified cell styles and combines cell's format to destination cell's format.
Destination style.
Source style.
True if not all format properties in destFont were set.
If or is null.
Determines whether cell type should be combined for specified cell styles and combines cell's cell type to destination cell's cell type.
Destination style.
Source style.
True if success
If or is null.
Converts PatterStyle into ExcelPattern.
PatternStyle to convert.
Corresponding ExcelPattern.
Converts GridHorizontalAlignment into ExcelHAlign.
GridHorizontalAlignment to convert.
Corresponding ExcelHAlign.
Converts GridVerticalAlignment into ExcelVAlign.
GridVerticalAlignment to convert.
Corresponding ExcelVAlign.
Converts GridBorderStyle into ExcelLineStyle.
GridBorderStyle to convert.
Corresponding ExcelLineStyle.
Converts GridBorder into ExcelLineStyle.
This method also considers GridBorderWeight.
GridBorder to convert.
Corresponding ExcelLineStyle.
Converts grid number format into excel number format.
Grid format to convert.
Grid format to convert.
Index to the excel format.
Initiates call to .
The event arguments.
Raises the event.
A that contains the event data.
Exports the image from the grid cell to excel cell range.
The destination .
The to export.
Exports the image from the grid cell to excel cell range.
The destination .
The grid cell.
Converts byte array to image
Byte array
Converted image from byte array
Adds a picture to the given range's Worksheet
IRange
Image
variable setting whether header has back color
variable setting whether header has fore color
Gets a value indicating whether default alignment setting should be used when alignment
wasn't set. Read-only.
Gets or sets the exported header cell's back color in worksheet.
Gets or sets a value indicating whether the cell borders should be exported.
Gets or sets a value indicating whether the styles should get exported.
The default value is true.
With version 5.1 the GridExcelConverter has been enhanced.
Since it export all style properties, the time taken to export a huge
grid will be more relative to below versions GridConverter.
If you dont want to export styles this can be set to false.
Gets a value indicating whether the grid is a GroupingGrid.
Gets or sets the .
Gets or sets a value indicating whether export the images into excel.
Effective only when ExportStyle is true.
Occurs for each cell before the
imports/ exports and let users customize the cell info.
Specifies the current action of the .
Specifies that the event is triggered on importing Excel into GridControl.
Specifies that the event is triggered on exporting GridControl to Excel.
Defines the constants that specify the options for exporting data from grid/grouping grid to Excel.
Default options - row / column headers won't be exported
and all columns of grid will be exported.
Lets you Convert only the visible Columns of Grid to a SpreadSheet format.
Lets you convert grid column headers into spreadsheet.
Lets you convert grid row headers into spreadsheet.
Represents the method that will handle the event.
The source of the event.
A that contains the event data.
Provides data for the GridImportExportCellInfo event.
Initializes a new instance of the class.
Excel cell style.
Grid cell style.
The row index.
The row index.
The column index.
Gets the style information for the grid cell.
Gets the style information of excel cell to import/ export.
Gets an action specifying the current action of .
GridExcelConverterControl class provides support for Exporting data from a gridControl into an Excel spreadsheet
for verification and/or computation. This Control automatically Copies the Grid's Styles, Formats
to Excel.
The GridExcelConverter Control is derived from
.
Indicates whether converter should autofit columns.
Indicates whether converter should autofit rows.
Array with default currency number formats.
Excel default color.
Transparent Color
Sheet family id - This is used to identify a family of grids.
Used to import the table style from Excel to grid.
Initializes a new static instance of the class.
Initializes a new instance of the class.
Releases the unmanaged resources used by the System.ComponentModel.Component and optionally releases the managed resources.
Exports the selected range from grid model to Excel.
The grid model.
Name of the file to which the grid is to be exported.
The converter options.
Exports the row heights to Excel.
The grid model that needs to be exported.
The destination .
The grid row index of the excel sheet.
The Excel sheet's row index to set the column width.
If or is null.
Exports the column widths to Excel.
The grid model that needs to be exported.
The destination .
The column index of the excel sheet.
Indicates the column delta value. i.e If column headers are exporting it will be 1 other wise 0.
Exports the specified range to excel from GridModel to Excel.
The Range of type to be exported.
The grid model.
Excel sheet to which data is to be exported.
The converter options.
Exports the specified range to excel from GridModel to Excel.
Range of type to be exported.
The grid model.
Name of the file to which the grid is to be exported.
The converter options.
Exports the grid range to the Excel sheet.
The range which needs to be exported.
The GridModel that holds range.
Destination worksheet.
The converter options.
Exports the cell data from grid to Excel.
Destination Excel range.
The GridStyleInfo.
Exports the combobox dropdown list items as DataValidation dropdown list.
The grid cell's style info.
The Excel sheet cell's range info.
If or is null.
Exports the column headers.
The GridModel.
The destination .
Exports the row headers.
The GridModel.
The destination .
Exports grid into excel file.
The to export.
The destination Excel sheet's file name.
Exports grid into excel file.
The to export.
The destination Excel sheet's file name.
Converter options.
Exports grid into excel file.
The to export.
The destination .
Exports grid into excel file.
The to export.
The destination .
The Converter options.
Exports grid into excel file.
The to export.
The destination Excel sheet's file name.
Exports grid into excel file.
The to export.
The destination Excel sheet's file name.
Converter options.
Exports grid into excel worksheet.
The to export.
The destination .
Exports grid into excel worksheet.
The to export.
The destination .
Converter options.
Exports the grid cell to excel cell.
Source grid.
The row index of the grid.
The column index of the grid.
The destination .
Gets the cell styles.
The grid row index.
The grid column index.
Returns the grid style info for cell.
Gets the cell styles.
The Grid model that hold cell styles.
The grid row index.
The grid column index.
Returns the grid style info for cell.
Adds the custom function in excel work book while exporting
file path of the user define function.
Function name of user define function
excel work book which is used for exporting
Adds the custom function in excel file while exporting
file path of the user define function.
Function name of user define function
file name of excel book
Converts the string to upper case.
The string to convert/
The upper case string.
Stores the strings for sheet reference.
The string that needs to be stored.
The collection of stored strings.
Sets the stored string to text.(sheet reference).
The strings which needs to be assigned from collection.
The collection of stored strings.
Imports the excel file to GridControl.
The name of the excel file to import.
The destination .
If or is null.
If length is 0.
Imports the data from excel worksheet into grid.
The Excel Worksheet.
The destination .
If or is null.
Imports the excel workbook into array of grid models.
The name of the excel file to import.
Worksheet's indexes to convert.
Array of grid models to convert into.
If any of the parameters such as ,, is null.
If length is 0.
If length is less than length.
Imports the excel workbook into array of grid models.
The name of the excel file to import.
Array of worksheet ranges to convert.
Array of GridModels to convert into.
If any of the parameters such as ,, are null.
If length is 0.
Imports the excel file into array of grid models.
The name of the excel file to import.
Corresponding grid models.
if is null.
if length is 0.
Imports the Excel workbook into array of grid models.
Source workbook to convert.
Corresponding grid models.
Converts the Excel range to grid model.
The to import.
The destination .
If or is null.
Converts the excel range to virtual grid.
This method can be used in QueryCellInfo event to convert the Excel range to Grid cell as virtual mode.
The destination grid cell.
The .
The .
If or is null.
Imports the single sheet from excel to virtual grid.
The destination .
The source .
If or is null.
Imports the entire workbook from excel to virtual grid.
The book.
Array of GridModel
if is null.
Imports the excel sheets from the specified Excel file.
The Excel sheet location.
The GridModel collection.
if is null.
if length is 0.
Imports the first Excel sheet alone from specified Excel file.
The Excel file location.
The GridModel to import the Excel sheet.
if or is null.
if length is 0.
Converts the excel format into grid supports number formats.
The format.
The format
Imports the grid cell style based on excel style for Virtual GridControl.
The source Excel sheet range.
The destination grid cell.
The Excel sheet.
if any of the parameters such as ,, are null.
Imports the excel style into GridControl.
The source Excel sheet range.
The destination grid cell.
Saves the changes made in grid to Excel sheet. This is mainly used for Virtual grid importing.
This method can be used in SaveCellInfo event.
The destination work sheet.
The virtual grid model.
The source grid cell.
if any of the parameters such as ,, are null.
Gets the formula text for GridFormulaEngine with sheet names.
the destination Excel workbook.
The Grid model
The formula text.
The excel sheet name replaced with grid identical like arguments.
Imports the number format from excel style into grid cell.
The source Excel cell style.
The destination cell.
If any of the parameters such as , are null.
Imports the orientation settings from excel style into grid cell.
The source cell style.
The destination grid cell.
If any of the parameters such as , are null.
After v6.1 ExcelToGrid Conversion will check for Merged cells when importing borders.
When there is no merged cells this can be set to true to avoid checking for MergeCells on
importing borders from excel cells.
Default value is false.
Gets the merged cell range from Excel sheet range.
The source Excel sheet range.
The bottom row index of the merged range.
The right column index of the merged range.
True if the source Excel range has merge cells otherwise false.
Imports the excel style borders to Grid cells (for normal excel importing).
The source Excel cell style.
The destination cell.
If any of the parameters such as , are null.
Converts excel border into grid border.
The border to convert.
Converts ExcelLineStyle into GridBorderStyle.
The Excel cell line style.
The border style for grid cell.
Converts ExcelLineStyle into GridBorderWeight.
The source Excel cell line style to convert.
The border weight for grid cell.
Sets grid cell borders based on excel style. This is specifically used for Virtual Grid.
The source Excel cell style.
The destination grid cell.
The source Excel work sheet.
If any of the parameters such as , are null.
Sets alignment of the GridStyleInfo.
Excel style to get alignment block from.
GridStyleInfo to set alignment block in.
If any of the parameters such as , are null.
Converts ExcelHAlign into GridHorizontalAlignment.
The source Excel cell alignment to convert.
The horizontal alignment for grid cell.
Converts ExcelVAlign into GridVerticalAlignment.
The source Excel cell alignment to convert.
The horizontal alignment for grid cell.
Imports the font for the cell based on ExcelRW style.
ExcelRW style to get font setting from.
Cell style to set font.
If any of the parameters such as , are null.
Gets the closest color. Used internally.
The color to be parsed for nearest color.
The name of the nearest color.
Imports the brush from Excel cell to Grid cell.
Excel style containing information about brush.
Style info to set brush in.
If any of the parameters such as , are null.
Converts ExcelPattern into PatternStyle.
The source ExcelPattern to convert.
The pattern style for grid cell.
If pattern style is not available in Excel.
Imports the row height information from excel worksheet into grid.
The source Excel sheet.
The destination .
If any of the parameters such as , are null.
Imports the column width information from excel worksheet into grid.
The source Excel sheet.
The destination .
If any of the parameters such as , are null.
Imports the merged ranges into grid.
The source Excel sheet.
The destination .
If any of the parameters such as , are null.
Imports the freeze panes from excel worksheet into grid.
The source Excel sheet.
The destination .
Copies the named range from excel worksheet into grid.
The source Excel sheet.
The destination .
Imports the grid line visibility to grid.
The source Excel sheet.
The destination .
If any of the parameters such as , are null.
Imports the images from Excel sheet.
The source Excel sheet.
The destination .
Imports the combobox from excel worksheet into grid.
The source Excel sheet.
The destination .
Imports the hyperlink to normal grid.
The source Excel sheet.
The destination grid cell.
The source Excel cell range.
Gets a string array that holds strings used with MessageBoxes that display error conditions.
Gets or sets a value Indicating whether converter should auto fit the columns.
Gets or sets a value Indicating whether converter should auto fit the rows.
Gets or sets a value indicating whether grid's row height has to be exported to Excel.
If you want to disable this row height, you can set False and assign your needed RowHeight in DefaultRowHeight property.
Gets or sets a value indicating whether grid's column width has to be exported to Excel.
If you want to disable this column width, you can set False and assign your needed RowHeight in DefaultRowHeight property.
Gets or sets the default column width in Excel sheet for all columns.
This is applicable when disabling CanExportColumnWidth and AutoFitColumns.
Gets or sets the default row height in Excel sheet for all rows.
This is applicable when disabling CanExportRowHeight and AutoFitRows.
Gets or sets the mode for exporting the hidden columns with various options.
Gets or sets the mode for exporting the hidden columns with various options.
Gets or sets a value indicating whether gridlines has to be shown in Excel sheet.
Gets or set a value indicating whether grid cell's combobox has to be exported as Excel sheet's DataValidation dropdown list.
Gets or sets the excel sheet's default version.
Gets or sets a value indicating whether the styles like fonts, borders, alignment, and so on has to be imported.
Gets or sets a value indicating whether the borders has to be imported.
Defines the constants that specify the options for hidden columns exporting.
The hidden columns in the grid will not be exported to Excel sheet.
The hidden columns in the grid will be exported in hidden state.
The hidden columns will be exported in shown state.
Defines the constants that specify the options for hidden rows exporting.
The hidden rows in the grid will not be exported.
The hidden rows in the grid will be exported in hidden state.
The hidden rows will be exported in shown state.
The Syncfusion.GroupingExcelConverter contains classes that provides the functionality of exporting the contents of the Essential GridGroupingControl to an Excel sheet.
Provides data for the event.
Initializes a new instance of the class.
The .
The parent record of the .
The for the nested table exporting.
Gets the nested table of the parent record.
Gets the parent record of this nested table.
Gets the exporting options for the Nested table.
Provides data for the event.
Initializes a new instance of the class.
The .
The destination .
Gets the current element.
Gets the excel range for current element.
Provides data for the event.
Initializes a new instance of the class.
The grid cell's .
Gets the grid cell.
Gets the Excel cell.
Provides excel exporting options such as CaptionSummary, Excluding the columns while exporting the grid and nested table.
Initializes a new instance of the class.
Creates a shallow copy of the all members.
Clones class.
Gets or sets whether caption summary has to be exported
Gets or sets whether table summary has to be exported.
Gets or sets whether record preview rows has to be exported.
Gets or sets whether group preview row has to be exported.
Gets or sets nested table has to be exported with indents.
Gets or sets whether group summary has to be exported.
Implements the basic exporting functionality common to .
Right angle value.
Maximum possible angle value.
Angle that corresponds to 90 rotation value in the XlsIO.
Default currency number format index
Default number format in Grid cell
Number format index in the MS Excel.
Initializes a new instance of the class.
Creates excel engine.
Newly created ExcelEngine.
The caller of this method is responsible for calling
Dispose on the created ExcelEngine after all workbooks
have been closed and the caller is finished with the engine.
Exports the cell value to Excel sheet.
The grid cell's style info.
The Excel sheet cell's style info.
The row index of the particular data.
the column index of the particular range.
Exports the cellstyles such as fonts, backcolors, alignments to Excel sheet.
The grid cell's style info.
The Excel sheet cell's style info.
if or is null.
Exports the formula to Excel sheet.
The grid cell's style info.
The Excel sheet cell's style info.
if or is null.
Exports the grid hyperlink cells to Excel sheet cell.
The grid cell's style info.
The Excel sheet cell's style info.
if or is null.
Exports the grid cell alignment.
The grid cell's style info.
The Excel sheet cell's style info.
if or is null.
Exports the border styles to excel.
The cell style.
Destination excel sheet range.
if or is null.
Used to export the cell's backcolor.
The cell style.
Destination excel sheet range.
if or is null.
Exports the border settings from grid border into excel sheet border.
Grid border to copy.
Destination excel border.
if or is null.
Converts GridBorder into ExcelLineStyle.
This method also considers GridBorderWeight.
GridBorder to convert.
Corresponding ExcelLineStyle.
Converts GridBorderStyle into ExcelLineStyle.
GridBorderStyle to convert.
Corresponding ExcelLineStyle.
Exports the number format to Excel sheet.
The cell style.
Destination excel sheet range.
if or is null.
Exports font styles to Excel sheet.
The cell style.
The destination excel sheet .
if or is null.
Exports the grid cell images to excel sheet cell.
The excel cell.
The grid cell.
if or is null.
Converts byte array to image
Byte array
Converted image from byte array
Adds a picture to the given range's Worksheet
The destination .
The image for exporting.
if or is null.
Gets or sets a value indicating whether styles has to be exported. For example, styles like borders,colors,..and so on.
Gets or sets a value indicating whether borders has to be exported.
Gets or sets the exporting mode of grid data.
Defines the constants that specify the data format for exporting.
Exports the FormattedText alone to Excel.
Exports the Format into Excel by setting Excel number format.
Implements the exporting functionalities of to Excel.
The GridGroupingExcelConverterControl class provides support for exporting the GridGroupingControl with the efficient way. The grid will be exported with various options and optimized way.
Used to store the current level of element
Used to store the expanded group status
Stores the number format collection when EnableOptimization is true
Initializes a new instance of the class.
Exports the GridGroupingControl to Excel with various exporting options.
The GridGroupingControl that needs to be exported.
The destination .
The .
If any of the parameters such as , are null.
Exports the GridGroupingControl to Excel which reads from specified file name with various exporting option.
The GridGroupingControl that needs to be exported.
The Excel file name.
The ExcelExportingOptions
If or is null.
If length is equal to 0..
Exports the records to Excel sheet.
The table element to export.
The destination worksheet.
The target row index.
The TableDescriptor of the ParentTable.
Excel exporting options for customization.
The visible columns collections of the table.
The start column for exporting the cells. This is mainly used for hierarchy export.
Index of the next element to be exported in Excel sheet.
If any of the parameters such as ,
,,,, are null.
Exports the style and data of merged cells from the grid.
GridGroupingControl
IWorksheet to import
If or is null.
Exports the column headers to Excel sheet.
The element of the table.
Destination worksheet.
Destination row index.
The TableDescriptor of the ParentTable.
Excel exporting options for some customization.
Visible columns collections of the table.
The start column for exporting the cells. This is mainly used for hierarchy export.
Index to the row after last exported element.
If any of the parameters such as ,
,,,, are null.
Exports the columns widths to Excel sheet columns.
The GridGroupingControl that needs to be exported
Destination worksheet
The TableDescriptor of the ParentTable.
Excel exporting options for some customization.
If any of the parameters such as ,
, are null.
Exports the grid table to Excel sheet.
The elements belongs to table.
The destination worksheet.
The target row index.
The TableDescriptor of the ParentTable.
Excel exporting options for some customization.
The start column for exporting the cells. This is mainly used for hierarchy export.
Determines whether this is an nested table.
Index of the row. This row index represents the last row index
If any of the parameters such as ,
,,,, are null.
Exports the stacked headers to Excel sheet.
The element to export.
Destination worksheet.
The TableDescriptor of the ParentTable.
The target row index.
Excel exporting options for some customization.
Visible columns collections of the table.
Returns True if StackedHeader row is exported successfully otherwise returns False.
If any of the parameters such as ,
,,,, are null.
Exports the Group header footer row to Excel sheet.
The element to export.
Destination worksheet.
The target row index.
The TableDescriptor of the ParentTable.
Visible columns collections of the table.
/// Excel exporting options for some customization.
The start column for exporting the cells. This is mainly used for hierarchy export.
If any of the parameters such as ,
,, are null.
Exports the Group footer row to Excel sheet.
The element to export.
Destination worksheet.
The target excel row index.
The TableDescriptor of the ParentTable.
Visible columns collections of the table.
The start column for exporting the cells. This is mainly used for hierarchy export.
/// Excel exporting options for some customization.
If any of the parameters such as ,
,, are null.
Exports the GroupPreviewRow to Excel sheet.
The element to export.
Destination worksheet.
The target row index.
The TableDescriptor of the ParentTable.
Visible columns collections of the table.
The start column for exporting the cells. This is mainly used for hierarchy export.
/// Excel exporting options for some customization.
If any of the parameters such as ,
,, are null.
Exports the RecordPreview row to Excel sheet.
The element to export.
Destination worksheet.
The TableDescriptor of the ParentTable.
The target row index.
Visible columns collections of the table.
Excel exporting options for some customization.
The start column for exporting the cells. This is mainly used for hierarchy export.
Returns True if RecordPreview row is exported successfully otherwise returns False.
If any of the parameters such as ,
,,,,, are null.
Exports the summary rows to Excel sheet.
The element to export.
Destination worksheet.
The current row index.
The TableDescriptor of the ParentTable.
Excel exporting options for some customization.
Visible columns collections of the table.
The start column for exporting the cells. This is mainly used for hierarchy export.
Returns True if Summary row is exported successfully otherwise returns False.
If any of the parameters such as ,
,,, are null.
If is less than or equal to 0..
Exports the summary cell to Excel sheet.
The table element associated with Record cell.
The corresponding visible column descriptor.
The destination worksheet range.
If , or is null.
Exports the cell styles to Excel sheet.
The table element associated with Record cell.
The corresponding visible column descriptor.
The source grid cell.
The destination worksheet range.
Exports the stacked header cell to Excel sheet.
The table element associated with Record cell.
The corresponding visible column descriptor.
The destination worksheet range.
If , or is null.
Exports the record cell to Excel sheet.
The table element associated with Record cell.
The corresponding visible column descriptor.
The destination worksheet range.
If , or is null.
Gets the cell value based on display member.
The table element associated with Record cell.
The corresponding visible column descriptor.
retuns the cell value
///
If , is null.
Exports the border style if it is assigned using TableOptions.GridLineBorder property.
The parent table descriptor of the element.
The grid cell style info.
Exports the preview cell such as RecordPreviewRow,GroupPreviewRow, GroupHeader, GroupFooter cell to Excel sheet cell.
The table element associated with Record cell.
The grid cell style.
The destination worksheet range.
If , or is null.
Exports the caption summary cell to Excel sheet cell.
The table element associated with Record cell.
The corresponding visible column descriptor.
The destination worksheet range.
If , or is null.
Exports the column header cell to Excel sheet cell.
The table element associated with Record cell.
The corresponding visible column descriptor.
The destination worksheet range.
If , or is null.
Exports the nested table's elements to Excel sheet.
The parent record that hold the nested tables.
Destination worksheet.
Destination row index.
Excel exporting options for some customization.
The start column for exporting the cells(indent cell). This is mainly used for hierarchy export.
Index to the row after last exported element.
If or is null.
If or is null.
Exports the caption row to excel sheet.
The element of the table.
Destination worksheet.
Destination row index.
Stack indices for setting the grouping.
The TableDescriptor of the ParentTable.
Excel exporting options for some customization.
Visible columns collections.
The start column for exporting the cells. This is mainly used for hierarchy export.
Returns True if Caption row is exported successfully otherwise returns False.
If any of the parameters passed with null.
If row index is less or equal to 0.
Exports the caption summaries to Excel sheet.
The element of the table.
The destination worksheet.
The TableDescriptor of the ParentTable.
Destination row index.
Excel start column index. i.e. from which column cell has to be exported in Excel sheet.
Visible columns collections of the table.
if any of the parameters such as ,, are null.
if is less than or equal to 0..
Retrieves caption text for group.
Group to get caption text from.
Caption text.
Gets the caption text for a group.
The group to get caption text for.
Caption format.
Caption text for the group.
Exports the grouping outline as it is in GridGroupingControl.
The table descriptor which has the table.
The element group level. It should be Zero if it is last group in the Grid.
The stack which holds the row index which is the start index of the group.
Destination worksheet.
The Excel row index.
The ExcelExportingOptions for customization.
if any of the parameters such as ,, are null.
Used to raise the ExportNestedTableEvent.
The .
Used to trigger the ExportNestedTableEvent.
The .
Used to raise the ExportNestedTableEvent.
The .
Used to trigger the ExportNestedTableEvent.
The .
Used to raise the ExportNestedTableEvent.
The .
Used to trigger the ExportNestedTableEvent.
The .
Occurs whenever nested table is exported.
Occurs whenever row element is exported.
Occurs whenever cell range is exported.
Exports the data without creating style for grid cell. The data will be get from table engine with column number format.
If this is true, Border and styles will not be exported and cell data will be taken from record directly instead of getting it from cell style.
Gets or sets a value indicating whether gridlines has to be shown in excel sheet.
Gets or sets a value indicating whether Grouping outlining has to be exported
Gets or sets a value indicating whether nested table outlining has to be exported.
Gets or sets a value indicating whether grid's rowheight has to be exported to Excel.
If you want to disable this rowheight, you can set False and assign your needed RowHeight in DefaultRowHeight property.
Gets or sets the default row height in Excel sheet for all rows.
This is applicable when disabling CanExportRowHeight
Gets or sets a value indicating whether grid's column width has to be exported to Excel.
If you want to disable this column width, you can set False and assign your needed RowHeight in DefaultRowHeight property.
Gets or sets the default column width in Excel sheet for all columns.
This is applicable when disabling CanExportColumnWidth
Gets or sets a value indicating whether Excel filter has to be applied for Excel columns.
Gets or sets the Excel engine version.
Gets or sets a value indicating whether nested table's caption and outlining of inner tables has to be exported.
Represents the method that will handle the event.
The sender contains the .
The that contains the event data.
Represents the method that will handle the event.
The sender contains the .
The that contains the event data.
Represents the method that will handle the event.
The sender contains the .
The that contains the event data.
The Syncfusion.GridConverter namespace contains classes that provides the functionality of importing the contents from the Excel sheet to the Essential GridControl.
Provides support to import the style of the tables defined in the Excel sheet.
Initializes a new instance of the class.
Checks for the cells is in table.
The source Excel sheet range.
The destination grid cell.
The source Excel sheet.
True if Excel sheet range has Tables otherwise False.
Applies the header style to cell.
The Table.
The Cell.
The Tablestyle.
Gets the table header foreground.
The Tablestyle.
Gets the table header border style.
The Tablestyle.
The Table border style.
Color of the border.
Gets the table header background.
The Tablestyle.
The color for grid cell.
Applies the table content style to Grid cells.
The Table.
The Cell.
The Tablestyle.
Gets the table content foreground.
The Tablestyle.
The color for the grid cell.
Gets the table content border style.
The Tablestyle.
The Table border style.
Color of the border.
Gets the table content back ground.
The Tablestyle.
First color of the background.
Color of the second background.
if set to true apply bockground to entire row.
Applies the Excel table border style to grid.
the destination grid cell.
The source Excel table border style.
The color of the border.
Defines the constants that specify the border styles.
Represents the No Solidstyle.
Represents the solid style for the Top ExcelBorderIndex.
Represents the solid style for the Bottom ExcelBorderIndex.
Represents the solid style for the Right ExcelBorderIndex.
Represents the solid style for the Left ExcelBorderIndex.
Represents the solid style for both Top and Bottom ExcelBorderIndex.
Represents the solid style for both Right and Left ExcelBorderIndex.
Represents that all ExcelBorderIndex is set.
GroupingGridExcelConverterControl class provides support for Exporting data from a GroupingGridControl into an Excel spreadsheet
for verification and/or computation. This Control automatically Copies the Grid's Styles, Formats
to Excel.
The GroupingGridExcelConverter Control is derived from
.
Initializes a new instance of the class.
Gets the related tables from grid table.
The source grid table.
Gets the child tables from related tables.
The source table.
The level of the table in grid.
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".
The source grouping grid.
The destination worksheet.
The converter options.
If or is null.
If length is equal to 0.
Copies the style and data of merged cells from the grid.
The source GridGroupingControl.
The IWorksheet to import.
The converter options.
If or is null.
Exports the grouping grid into excel file.
The source grouping grid.
The destination worksheet.
The converter options.
If or is null.
Copies the column width settings from grid model into excel worksheet.
The GridTableDescriptor.
The destination WorkSheet.
Starting grid column index from which width should be set.
Visible column count.
Start column index in sheet.
if is null.
Exports the collection of elements into worksheet.
The collection of elements to export.
The destination worksheet.
Starting zero-based index to the first row.
The converter options.
Group Level of the current element.
Index to the row after last exported element.
If or is null.
If length is less than 0.
Exports the row headers to Excel.
The table descriptor of the grid to export.
The destination work sheet.
The destination row index.
The destination column index.
The number of exported rows.
If is null.
If or length is less than 0.
Exports the column header to Excel.
Header row to export.
Destination worksheet.
Element to export.
One-based row index.
Convert options.
Group level - one-based column index.
Number of elements to skip.
The number of exported (used) rows.
If or is null.
If length is less than 0.
Exports header column set into excel.
Columns collection.
Column set to export.
Worksheet to export data into.
Row index to export to.
Style of the exported cells.
GridTableDescriptor.
Number of rows used by column set.
Exports the StackedHeader to Excel.
StackedHeaderRow to export.
WorkSheet to export data into.
GroupLevel of the StackHeaderRow element.
Row index to export to.
The Number of rows exported.
If or is null.
If or length is less than or equal to 0.
Exports the empty cells to Excel.
Sheet to export cells into.
Zero-based row index.
Converter options.
Style of the cells to export.
Number of columns to export.
Group level.
The Number of used rows.
If is null.
If length is less than 0.
Exports summary row into excel worksheet.
Summary to export.
Destination worksheet.
Zero-based index to first row of the summary.
Converter options.
GroupLevel.
Summary row style.
If or is null.
If length is less than 0.
Validates whether summary cells format has been correctly validated.
GridStyleInfo of GridGroupingControl
Column index of passed style
Combines Borders from entire style hierarchy.
The destination grid cell style.
Performs all necessary operations (grouping necessary rows, etc.)
to set current group level to the desired level.
Stack with starting index of previously found groups.
Current group level.
Group level to set.
Destination worksheet.
Current row zero-based index.
Indicates whether new group should be started at index.
SummaryRowCount of the parent table.
If or is null.
Exports the record row into excel worksheet.
RecordRow to export.
Destination worksheet.
Zero-based index to first row of the record.
Converter options.
GroupLevel.
Skipped RecordRow Count.
The number of exported records.
If or is null.
If or length is less than 0.
Formats the string.
The number to format.
The .
The format string.
Exports the column set into excel.
Column set to export.
Worksheet to export data into.
Row index to export to.
Column index to export to.
FieldDescriptorCollections.
RecordRow.
GridTableDescriptor.
The number of rows used by column set.
Exports the cell style to Excel cell style.
The source element to export.
The source field descriptor.
The destination range.
The converter options.
If or is null.
Exports the caption row to Excel.
Source caption row.
the destination worksheet.
Caption's zero-based row index in the worksheet.
Convert options.
Current group level.
A stack object to maintain the start group indexes.
SummaryRowCount.
Zero-based row index that point to the row after caption.
If or is null.
If length is less than 0.
Exports the caption summary row to Excel.
Source caption row.
The destination worksheet.
Caption's zero-based row index in the worksheet.
Convert options.
Current group level.
A stack object to maintain the start group indexes.
SummaryRowCount.
Child Table Group level.
Caption summary row style.
Zero-based row index that point to the row after caption.
If or is null.
If length is less than 0.
Exports the number format index for a range from specified grid style.
The destination excel range.
The source grid cell style to export.
Concatenates the grid cell format to Excel sheet range.
The number of digits.
The Excel sheet range.
The grid cell style.
Concatenated format string.
Exports group to the excel worksheet.
Group to export.
Destination worksheet.
Zero-based row index.
Element GroupLevel.
Zero-based row index that point to the row after group rows.
If or is null.
If length is less than 0.
Exports nested table.
Source table to export.
the destination worksheet.
Caption's zero-based row index in the worksheet.
Convert options.
GroupLevel.
Zero-based row index that point to the row after caption.
Exports preview row into excel worksheet.
PreviewRow element to export.
Destination worksheet.
Index of the preview row element in the Elements collection.
Row index to export to.
Gets the ForeignKeyCell Formatted Text.
the grid column Style.
FieldDescriptor.
Record.
Field Value.
ForeignKeyCell Formatted Text.
Initiates call to OnQueryExportPreviewRowInfo
The .
Raises the QueryExportPreviewRowInfo event.
An that contains the event data.
Initiates call to OnExportElement.
The .
Raises the ExportElement event.
An that contains the event data.
Initiates call to OnQueryCaptionText.
The
Raises the QueryCaptionText event.
An that contains the event data.
Retrieves caption text from caption row.
Caption row to get text from.
Caption text.
Retrieves caption text for group.
Group to get caption text from.
Caption text.
Gets caption text for a group.
The group to get caption text for.
Caption format.
Caption text for the group.
Gets or sets the value indicating whether Excel filter has to be applied in Excel sheet.
This is specifically used to show the empty filter in excel sheet while exporting.
Gets a value Indicating whether default alignment setting should be used when alignment
wasn't set. Read-only.
Gets or sets the caption cell's back color in the worksheet.
Gets or sets whether the caption summary row if enabled, can be exported to excel. Default is true.
Gets or sets a value indicating whether the Record with related tables should be exported as Excel Group.
Gets or sets a value indicating whether the Grouping.Group should be exported as Excel Group.
Gets or sets a value indicating whether the PreviewRows should be exported.
The default value is false.
When you are not exporting with option
then, the event must be handled.
Gets or sets a value indicating whether the styles has to be exported.
Gets a value indicating whether it is a grouping grid.
Gets or sets the grouping grid of the .
Occurs for each preview row element before the
exports and lets users customize the preview row.
Occurs for each element before the
exports and lets users to cancel exporting the element.
Occurs for each CaptionRow before the
exports and lets users customize the CaptionText.
Maintain all GridTables in a hash table with hierarchy level.
Initializes a new instance of the class.
Adds an element with the specified key and value into the System.Collections.Hashtable.
The key of the element to add.
The value of the element to add. The value can be null.
Gets the table level
The .
The level of the table in grid.
Gets the table level
The name of the .
The level of the table in grid.
Retrieves the GridTable from the hashtable collection.
Name of the table to be retrieved.
The GridTable
Holds the information about summary row count in a group that need to be calculated
while grouping in rows in worksheet.
Initializes a new instance of the class.
The start index of the group.
The number of summary rows.
Gets the start index of the group.
Gets the summary row count of the group.
Represents a method that handles an event with .
The source of the event.
The .
Represents a method that handles an event with .
The source of the event.
The .
Represents a method that handles an event with .
The source of the event.
The .
Provides data about the event.
Initializes a new class.
The CaptionRow to be exported.
The text to be displayed in CaptionRow.
Gets the CaptionRow.
Gets or sets the string that will be exported for the CaptionRow.
Provides data about the event.
Initializes a new class.
The element to be exported.
The row index of the element.
The element to get exported to the worksheet.
Gets the worksheet row index to which the Element will get exported.
Provides data about the event.
Initializes a new instance of the class.
Element to export.
Style Object.
Gets the grid cell style.
Gets the element to export.
Gets or sets a value indicating whether preview row should be exported.
Gets or sets a value indicating whether the event has been handled and no further processing of this event should happen.
First index of the range.
Last index of the range.
Initializes a new instance of the class.
Initializes new instance of the IndexRange and sets its first index and last index.
First index of the range.
Last index of the range.
Gets the first index of the range. Read-only.
Gets the last index of the range. Read-only.