How to disable catching by Kendo grid

2 posts, 0 answers
  1. Niloofar
    Niloofar  avatar
    24 posts
    Member since:
    Jan 2015

    Posted 29 Mar 2016 Link to this post

    In my grid i have enabled virtual scrolling and server side paging. but as i was scrolling i noticed sometimes when i scroll its not sending a new request to grab new data even if its reached page size. I think its because of catching of data. I tried to set catch property to false in my ajax call but it didnt fix my issue. I was wondering how this can be done. does Kendo can provide us with a functionality?
    var dataSource = {
        transport: {
            read: function (options) {
                var success = function (response) {
                var error = function (xhr, status, error) {
                    Ember.Logger.error('Fail response: ' + xhr.responseText + ' (status=' + xhr.status + ' ' + error + ')');
                _this.get('PopulateGridData')(gridUrl, success, error,, 'POST', true, true);
        pageSize: gridPageSize,
        schema: gridSchema,
        serverPaging: true,
        serverSorting: true,
        serverGrouping: true,
        serverFiltering: true,
    var gridOptions = {
        dataSource: dataSource,
        columns: gridColumns,
        editable: gridEditable,
        pageable: {
            refresh: true,
            numeric: false,
            previousNext: false,
        height: gridHeight,
        scrollable: {
            virtual: true,
        groupable: true,
        filterable: true,            
    var grid = Ember.$("#kendo-grid").kendoGrid(gridOptions).data('kendoGrid');
    _this.set('kendoGrid', grid);
  2. Dimiter Topalov
    Dimiter Topalov avatar
    1296 posts

    Posted 31 Mar 2016 Link to this post

    Hello Niloofar,

    You can set the option of the Kendo UI Grid's dataSource to false to prevent caching the result of the request by the browser.

    However there is another issue in the provided code sample - virtual scrolling is not supposed to be used in a combination with paging, grouping, hierarchy, and CRUD operations, and such scenarios are not supported. You can find more information in the corresponding section of our documentation:

    Let me know if you have further questions about the Kendo UI widgets.

    Dimiter Topalov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top