## GridImportTableOptions class

Represents the options of importing data into cells.

```csharp
public class GridImportTableOptions
```

## Constructors

| Name | Description |
| --- | --- |
| [GridImportTableOptions](gridimporttableoptions/)() | constructor of GridImportTableOptions |

## Properties

| Name | Description |
| --- | --- |
| [CheckMergedCells](../../aspose.cells.griddesktop.data/gridimporttableoptions/checkmergedcells/) { get; set; } | Indicates whether checking merged cells. |
| [ColumnIndexes](../../aspose.cells.griddesktop.data/gridimporttableoptions/columnindexes/) { get; set; } | Gets or sets the columns(0-based) to import from data source. null means all columns should be imported. |
| [ConvertGridStyle](../../aspose.cells.griddesktop.data/gridimporttableoptions/convertgridstyle/) { get; set; } | Indicates whether apply the style of the grid view to cells. |
| [ConvertNumericData](../../aspose.cells.griddesktop.data/gridimporttableoptions/convertnumericdata/) { get; set; } | Gets or sets a value that indicates whether the string value should be converted to numeric or date value. |
| [DateFormat](../../aspose.cells.griddesktop.data/gridimporttableoptions/dateformat/) { get; set; } | Gets or sets date format string for cells with imported datetime values. |
| [DefaultValues](../../aspose.cells.griddesktop.data/gridimporttableoptions/defaultvalues/) { get; set; } | Default value for the value in the table is null. |
| [ExportCaptionAsFieldName](../../aspose.cells.griddesktop.data/gridimporttableoptions/exportcaptionasfieldname/) { get; set; } | Indicates whether exporting caption as field name |
| [InsertRows](../../aspose.cells.griddesktop.data/gridimporttableoptions/insertrows/) { get; set; } | Indicates whether new rows should be added for importing data records. |
| [IsFieldNameShown](../../aspose.cells.griddesktop.data/gridimporttableoptions/isfieldnameshown/) { get; set; } | Indicates whether field name should be imported. |
| [IsFormulas](../../aspose.cells.griddesktop.data/gridimporttableoptions/isformulas/) { get; set; } | Indicates whether the data are formulas. |
| [IsHtmlString](../../aspose.cells.griddesktop.data/gridimporttableoptions/ishtmlstring/) { get; set; } | Indicates whether the value contains html tags. |
| [NumberFormats](../../aspose.cells.griddesktop.data/gridimporttableoptions/numberformats/) { get; set; } | Gets or sets the number formats |
| [ShiftFirstRowDown](../../aspose.cells.griddesktop.data/gridimporttableoptions/shiftfirstrowdown/) { get; set; } | Indicates whether shifting the first row down when inserting rows. |
| [TotalColumns](../../aspose.cells.griddesktop.data/gridimporttableoptions/totalcolumns/) { get; set; } | Gets or sets total column count to import from data source. -1 means all rows of given data source. |
| [TotalRows](../../aspose.cells.griddesktop.data/gridimporttableoptions/totalrows/) { get; set; } | Gets or sets total row count to import from data source. -1 means all rows of given data source. |

### See Also

* namespace [Aspose.Cells.GridDesktop.Data](../../aspose.cells.griddesktop.data/)
* assembly [Aspose.Cells.GridDesktop](../../)


