kendo-grid-scroll

Program grid scroll for kendo-ui library. Support virtual mode for grid.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
kendo-grid-scroll
0.0.38 years ago8 years agoMinified + gzip package size for kendo-grid-scroll in KB

Readme

kendo-grid-scroll =============== A program grid scroll for kendo-ui library. Support local and remote datasource, virtual mode for grid.

Demo

A demo is available on the Github Pages webpage for kendo-grid-scroll here.

Basic Usage

```javascript
// some grid
$("#grid").kendoGrid({
dataSource: {
data: data,
pageSize: 20
},
...
//init                           
var kendoGridScroll = new KendoGridScroll.Model($("#grid"), function(grid, row) {
grid.select(row); //do whatever you want
});
...
// scroll to required index
kendoGridScroll.scrollTo(index);
...
// destroy object
kendoGridScroll.destroy();
```

License

This code is provided under the MIT license.