Necessitates Proper Modularity

    kendo-grid-virtual-scrolling

    1.0.8 • Public • Published
    Coverity Scan Build Status

    Kendo-grid-virtual-scrolling

    Custom implementation of virtual scrolling in Kendo-grid to support grouping and editing.

    How to add

    var kendoGridVS = require('kendo-grid-virtual-scrolling');

    In normal browser usage

    provide the <version>

    <script src="https://unpkg.com/kendo-grid-virtual-scrolling@<version>/dist/Kendo-Grid-VirtualScroll.js"></script>

    How to use

    Can be use inside dataBound event in Kendo-Grid.

    //set this as global variable and set true if grid is reload/change grouping etc..
    initDataBound = true;
    //when support sort, set initDataBound=true in sort event(Kendo grid event)
     sort: function(e) {
         initDataBound = true; 
     }
    //when support group, set initDataBound=true in group event(Kendo grid event)
     group: function(e) {
         initDataBound = true; 
     }

    //databound event in kendo-grid
    dataBound: function(e){
         if (initDataBound) {
                   initDataBound = false;
                   kendoGridVS({
                     gridElement: e.sender.element,
               });
          }
    }

    MIT License

    Install

    npm i kendo-grid-virtual-scrolling

    DownloadsWeekly Downloads

    2

    Version

    1.0.8

    License

    MIT

    Last publish

    Collaborators

    • dulanja33