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

2014 Releases

This article lists the breaking changes in the Kendo UI 2014 releases.

Kendo UI 2014 Q3 SP1

Kendo UI Mobile Material Skins

To sync with the other mobile themes, the Material themes are renamed to material-light and material-dark.

Kendo UI 2014 Q3

DataSource

The DataSource wraps the data items as kendo.data.ObservableObject on demand when paging is enabled (pageSize is set). In previous versions, all data items were wrapped initially. This change will affect people using the private _data field of the data source as they will now get items that are not instances of kendo.data.ObservableObject. In such cases, use the data() method instead.

Mobile ListView

All configuration options for text customization are nested in a messages object.

    $("#listview").kendoMobileListView({
        dataSource: dataSource,
        template: kendo.template($("#tmp").html()),
        loadMore: true,
        pullToRefresh: true,
        loadMoreText: "Press to load more",
        pullTemplate: "Pull to refresh",
        releaseTemplate: "Release to refresh",
        refreshTemplate: "Refreshing"
    });
    $("#listview").kendoMobileListView({
        dataSource: dataSource,
        template: kendo.template($("#tmp").html()),
        loadMore: true,
        pullToRefresh: true,
        messages: {
            loadMoreText: "Press to load more",
            pullTemplate: "Pull to refresh",
            releaseTemplate: "Release to refresh",
            refreshTemplate: "Refreshing"
        }
    });

Mobile Scroller

All configuration options for text customization are nested in a messages object.

    $("#scroller").kendoMobileScroller({
        pullToRefresh: true,
        pullTemplate: "Pull to refresh",
        releaseTemplate: "Release to refresh",
        refreshTemplate: "Refreshing"
    });
    $("#scroller").kendoMobileScroller({
        pullToRefresh: true,
        messages: {
            pullTemplate: "Pull to refresh",
            releaseTemplate: "Release to refresh",
            refreshTemplate: "Refreshing"
        }
    });

Editor

Because of security precautions, scripts are no longer posted to the server by default. To allow scripts to be posted to the server, set the serialization.scripts configuration option to true. Note that for true protection from cross-site scripting, you still need server-side sanitization, as noted in the preventing cross-site scripting help topic.

    $("#editor").kendoEditor();
  // if you need scripts to be posted to the server
    $("#editor").kendoEditor({
        serialization: {
            scripts: true
        }
    });

PivotDataSource

The measure aggregator of the client pivot cube uses objects instead of numbers for the state argument. The field you should set to accumulate the value is called accumulator.

    aggregate: function(value, state) { return value + state; }
  // if you need scripts to be posted to the server
    aggregate: function(value, state) {
        state.accumulator = state.accumulator || 0;
        return state.accumulator + value;
    }

Kendo UI 2014 Q2

TabStrip

  • The Kendo UI Q2 2014 release introduces an additional TabStrip wrapper div which verifies that the changes in the height of the TabStrip will not affect the page scrolling position.

  • The activate event of the TabStrip has been renamed to show and fires at the beginning of the open animation. A new activate event has been introduced and is fired at the end of the open animation. This is done for consistency with the rest of the widgets.

  • The TabStrip automatically calls kendo.resize to its contents in both show and activate events.

TreeView

The deprecated checkboxTemplate configuration option has been removed. If you do not need a highly specific checkbox template, consider using the default one (using checkboxes: true). For custom checkbox rendering, use the checkboxes.template option:

    $("#tree").kendoTreeView({
        checkboxTemplate: "..."
    });
    $("#tree").kendoTreeView({
        checkboxes: {
            template: "..."
        }
    });

Editor

The deprecated formatBlock and style tools have been removed. See the following 2013 Q2 release notes on how to migrate to the formatting tool.

Editor for ASP.NET MVC

The ImageBrowser controller now works with the FileBrowserEntry and FileBrowserEntryType types instead of the ImageBrowserEntry and ImageBrowserEntryType ones. This change is related to the introduction of the new FileBrowser tool.

Kendo UI 2014 Q1 SP2 (2014.1.528)

Grid

Clicking on an input, link, or button no longer triggers the selection.

ListView

Clicking on an input, link, or button no longer triggers the selection.

Kendo UI 2014 Q1

Flat Theme

The button background is now grey. To revert to the previous behavior, use the .k-primary class.

Kendo UI Web mobile skins

The new skins for the mobile widgets in Kendo UI Web are not compatible with the Kendo UI Mobile platform themes and shouldn't be used together. However, you can style your app with them if you do not include any of the Kendo UI Mobile styling (even the common CSS)—kendo.[skin-name].mobile.min.css includes everything needed.

See Also

In this article