1.0.8 • Published 7 years ago

kendo-grid-virtual-scrolling v1.0.8

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago