2016-03-22 12 views
0

リモートのjsonデータを取得中に剣道仮想スクロールが動作しません。コードはこちら仮想スクロールが動作しない剣道の回転角度

<div id= "test-grid" kendo-grid="testGrid" k-options="testGridOptions"></div> 

$scope.testGridOptions = { 
    dataSource : { 
     transport: { 
      read: function(e) { 
       Service.getdata().then(function(response) { 
        if (response) { 
         $scope.isReqComplete = true; 
         //Response will be {results :[], count:3} 
         e.success(response); 
        } 
       }); 
      }, 
     }, 
     schema : { 
      type : "json", 
     }, 
     type :"json", 
     serverSorting: true, 
     pageSize: 20, 
     serverPaging: true, 
    }, 
    columns: cols, 
    scrollable: { 
     virtual: true 
    } 
} 
+0

エラーとは何ですか?コントローラに到達していますか? JavaScriptのエラーはありますか? – Daniel

答えて

0

クライアント側のコードはよく見えます。この問題はサーバー側の実装に関連していると私は考えています。

サーバーが実装ページングであり、使用可能なレコードの合計量を送信していることを確認する必要があります。

関連する問題