# CustomDataSourceModelFieldDescriptorBuilder

## Methods

### From(System.String)

Specifies the field of the original record which value to be used for population of the Model field.

#### Parameters

##### fromField - `System.String`

The field of the original record which value to be used

#### RETURNS

A [CustomDataSourceModelFieldDescriptorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/customdatasourcemodelfielddescriptorbuilder) instance for further configuration of the field.

### Parse(System.String)

Specifies the handler which will parse the field value. If not set default parsers will be used.

#### Parameters

##### handler - `System.String`

The handler

#### RETURNS

A [CustomDataSourceModelFieldDescriptorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/customdatasourcemodelfielddescriptorbuilder) instance for further configuration of the field.

### Parse(System.Func)

Specifies the handler which will parse the field value. If not set default parsers will be used.

#### Parameters

##### handler - `System.Func<Object,Object>`

#### RETURNS

A [CustomDataSourceModelFieldDescriptorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/customdatasourcemodelfielddescriptorbuilder) instance for further configuration of the field.

### DefaultValue(Kendo.Mvc.UI.Fluent.T)

#### Parameters

##### value - `T`

### DefaultValue(System.Object)

Sets the value which will be used to populate the field when new non-existing model is created.

#### Parameters

##### value - `System.Object`

The value

#### RETURNS

A  instance for method chaining.

### Editable()

Specifies if the field should be editable.

#### RETURNS

A  instance for method chaining.

#### Example

```
 
            .DataSource(dataSource => dataSource
                    .Ajax()
                    .Model(m => m.Field(f => f.ShipName).Editable())
            )
             
```

### Editable(System.Boolean)

Specifies if the field should be editable.

#### Parameters

##### enabled - `System.Boolean`

True is the field should be editable, otherwise false

#### RETURNS

A  instance for method chaining.

#### Example

```
 
            .DataSource(dataSource => dataSource
                    .Ajax()
                    .Model(m => m.Field(f => f.ShipName).Editable(false))
            )
             
```
