New to Telerik UI for ASP.NET Core? Download free 30-day trial

ReadOnlyCustomDataSourceSchemaBuilder

Methods

Model(System.Action)

Configures Model properties

Parameters

configurator - System.Action<ReadOnlyCustomDataSourceModelDescriptorFactory>

The Model configurator.

Example


                    @(Html.Kendo().DropDownList()
                        .Name("ddl")
                        .DataSource(ds=> ds
                            .Custom())
                            .Schema(s=>s.Model(m=>m.Id("ID")))
                    )

Aggregates(System.String)

Sets Aggregates option.

Parameters

aggregates - System.String

Aggregates option

Aggregates(System.Func)

Sets JavaScript function which to return aggregates.

Parameters

handler - System.Func<Object,Object>

Groups(System.String)

Sets Groups option.

Parameters

groups - System.String

Groups option

Groups(System.Func)

Sets JavaScript function which to return groups.

Parameters

handler - System.Func<Object,Object>

Data(System.String)

Sets Data option.

Parameters

data - System.String

Data option

Data(System.Func)

Sets JavaScript function which to return data.

Parameters

handler - System.Func<Object,Object>

Total(System.String)

Sets Total option.

Parameters

total - System.String

Total option

Total(System.Func)

Sets JavaScript function which to return total.

Parameters

handler - System.Func<Object,Object>

Errors(System.String)

Sets Errors option

Parameters

errors - System.String

Errors option

Errors(System.Func)

Sets JavaScript function which to return the errors.

Parameters

handler - System.Func<Object,Object>

Parse(System.Func)

Sets JavaScript function which to return data.

Parameters

handler - System.Func<Object,Object>

Type(System.String)

Sets Schema Type option

Parameters

type - System.String

Type option

In this article
Not finding the help you need?