在Angular 2中刷新Kendo网格

时间:2016-12-02 20:46:54

标签: angular kendo-ui kendo-grid kendo-ui-angular2

当数据发生变化时,如何刷新Angular 2 Kendo网格?

The error occured while trying to share Data. The resource must be online on the same node for the operation. 

The shared resource was not created at this time.

1 个答案:

答案 0 :(得分:1)

$('html').on('dragstart', '.somelement', function(e){

    // Bind 'drag' event only once (gets triggered every 350ms)
    $('html').one('drag', function(){
         // modify DOM here
    });
});

$('html').on('dragend', '.somelement', function(e){

    // Edge might fire 'dragend' before executing the 'drag' event within 'dragstart'
    $('html').unbind('drag');

});

不使用分页选项