When defining a PanelBar with Custom DataSource the Schema configuration is not serialized.
The following configuration
@(Html.Kendo().PanelBar()
.Name("panelbar")
.AutoBind(false)
.DataSource(dataSource => dataSource
.Custom()
.Schema(schema => schema
.Model(model => model.Children("Aggregates"))
)
)
)
generates the following initialization script:
kendo.syncReady(function() {
jQuery("#panelbar").kendoPanelBar({
"autoBind": false,
"loadOnDemand": true,
"expandMode": "multiple",
"dataSource": {
"schema": {
"model": {
"fields": {}
}
}
}
});
});
The ASP.NET MVC wrapper serializes the schema as expected.
The Schema configuration should be serialized.