{/* Do not edit this file. It is automatically generated by API Documenter. */}


## DataFillOptions

Configuration model for data retrieval

**Signature:**

```typescript
export interface DataFillOptions
```

## Remarks

Used in fill-related methods such as [LocalDataProvider.fillJsonData()](/refs/Class/LocalDataProvider#filljsondata){/* */}, [LocalTreeDataProvider.fillJsonData()](/refs/Class/LocalTreeDataProvider#filljsondata).

Just input the desired information and set it up.

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [childrenField](/refs/Interface/DataFillOptions#childrenfield) | string | Only TreeProvider can be used, children field |
| [count](/refs/Interface/DataFillOptions#count) | number | data rows to import |
| [delimiter](/refs/Interface/DataFillOptions#delimiter) | string | separator |
| [fillMode](/refs/Interface/DataFillOptions#fillmode) | [DataFillMode](/refs/realgrid#datafillmode) | How to fill data |
| [fillPos](/refs/Interface/DataFillOptions#fillpos) | number | Line starting when `fillMode`{/* */} is 'insert' or 'update' |
| [iconField](/refs/Interface/DataFillOptions#iconfield) | string | Icon field name |
| [needSorting](/refs/Interface/DataFillOptions#needsorting) | boolean | Sort or not |
| [noStates](/refs/Interface/DataFillOptions#nostates) | boolean | Whether to not set state on generated data rows |
| [parentId](/refs/Interface/DataFillOptions#parentid) | number | Unique number of parent row |
| [quoted](/refs/Interface/DataFillOptions#quoted) | boolean | Whether each cell data is surrounded by a double-quotation mark("") |
| [rootArray](/refs/Interface/DataFillOptions#rootarray) | boolean | Whether the top level of the data source is Array |
| [rows](/refs/Interface/DataFillOptions#rows) | string | <p>Row data type</p><p>The name of the row element or array element among the data. Can only be used in json and xml.</p> |
| [start](/refs/Interface/DataFillOptions#start) | number | Actual data starting row excluding headers, etc. from data |
| [treeField](/refs/Interface/DataFillOptions#treefield) | string | tree field name |

## Properties Desc

### childrenField

Only TreeProvider can be used, children field

`Type` - string

<hr/>

### count

rows of data to import

`Type` - number

**Remarks:**

If `-1`{/* */}, the whole is retrieved.

<hr/>

### limiter

Separator

`Type` - string

**Remarks:**

Used only in CSV cases

<hr/>

### fillMode

Data Population Method

`Type` - [DataFillMode](/refs/realgrid#datafillmode)

<hr/>

### fillPos

Line that starts when `fillMode`{/* */} is 'insert' or 'update'

`Type` - number

<hr/>

### iconField

Icon Field Name

`Type` - string

**Remarks:**

Only TreeProvider can be used.

It can also be specified as an attribute called `icon`.

<hr/>

### needSorting

Sort or not

`Type` - boolean

**Remarks:**

Only TreeProvider can be used.

It can also be specified as a property called `sorting`.

<hr/>

### noStates

Whether to not set state on generated data rows

`Type` - boolean

<hr/>

### parentId

Unique number of parent row

`Type` - number

**Remarks:**

Only TreeProvider can be used.

It can also be specified as a property called `parent`.

<hr/>

### quoted

Whether each cell data is wrapped with a double-quotation mark("")

`Type` - boolean

**Remarks:**

Used only in CSV cases

<hr/>

### rootArray

Whether the top level of the data source is Array

`Type` - boolean

**Remarks:**

Used only for json

<hr/>

### rows

data type of row

The name of a row element or array element among data. Can only be used in json and xml.

`Type` - string

<hr/>

### start

Actual data starting row excluding headers, etc.

`Type` - number

**Remarks:**


<hr/>

### treeField

tree field name

`Type` - string

**Remarks:**

Only TreeProvider can be used.

It can also be specified as an attribute called `tree`.

<hr/>