New to Kendo UI for jQuery? Download free 30-day trial

Binding to a Shared DataSource

The Kendo UI Timeline could be bound to a shared data source. Whenever a change external to the Kendo UI Timeline is present, the component's data source and UI will be automatically updated.

For a runnable example, refer to the demo on binding to a shared data source.

The following example demonstrates how to bind two Kendo UI components to the same data source. Changes done from one of the components is automatically reflected in the data source and UI of the other component.

<div id="timeline"></div>
        $(document).ready(function () {
            var dataSource = new{
                pageSize: 10,
                transport: {
                    read: {
                        url: "../content/web/timeline/events-vertical-part1.json",
                        dataType: "json"
                schema: {
                    model: {
                        id: "title",
                        fields: {
                            date: {
                                type: "date"


                autoBind: false,
                optionLabel: "Select an item...",
                dataSource: dataSource,
                dataTextField: "title",
                dataValueField: "title",
                value: "Barcelona & Tenerife"

                autoBind: false,
                dataSource: dataSource,
                alternatingMode: true,
                collapsibleEvents: true,
                orientation: "vertical"

            $("#remove").click(function() {
                var ddl = $("#titles").getKendoDropDownList();
                var selectedItem = ddl.value();
                var dataItems = $.grep(, function(item){
                  return item.title == selectedItem;


See Also

In this article