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

Create an Item in the DataSource without Refreshing the Grid


Product Progress Kendo UI Grid
Progress Kendo UI version Created with the 2017.3.1026 version


How can I prevent the Kendo UI Grid from refreshing when I insert an item in the dataSource?


  1. Unbind the change event handler of the dataSource from the Grid.
  2. Insert the item.
  3. Bind the change event handler of the dataSource to the Grid.
<div id="grid"></div>

    var dataSource = new{
        schema: {
            model: {
                id: "id"
        id: 1,
        name: "John Doe"
    }, {
        id: 4,
        name: "Alex"

    var grid = $("#grid").kendoGrid({
        dataSource: dataSource

    setTimeout(function(e) {
        dataSource.unbind("change", grid._refreshHandler);
        dataSource.insert(1, {
            id: 2,
            name: "Peter"
        dataSource.bind("change", grid._refreshHandler);
    }, 1000)

    setTimeout(function(e) {
        dataSource.insert(2, {
            id: 3,
            name: "Michael"
    }, 3000)
In this article
Not finding the help you need? Improve this article