Completed
Last Updated: 13 Oct 2022 07:41 by ADMIN
Release R1.2023-Increment.1(09.Nov.2022)
Andy
Created on: 19 Aug 2022 06:50
Category: PanelBar
Type: Bug Report
0
PanelBar with Custom DataSource does not serialize the Schema

Bug report

When defining a PanelBar with Custom DataSource the Schema configuration is not serialized.

Reproduction of the problem

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.

Expected/desired behavior

The Schema configuration should be serialized.

Environment

  • Kendo UI version: 2022.2.802
  • Browser: [all]
0 comments