Click here to Skip to main content
15,888,293 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am working with kendo grid. I want to show more than 40000 records.
Json is not supporting that much data, so i can not use paging.
So i decided to user virtual scroll bar. But it is not working.
Below is the code.
Can any one help me what is wrong.

JavaScript
$(document).ready(function () {
        
        $("#divReports").kendoGrid({
            
            dataSource: {
                type: "json",
                transport: {
                    read: '/Report/GetReportData'
                },
            },
            
            height: 650,
            scrollable: {
                virtual: true
            },            
            groupable: true,
            resizable: true,
            sortable: true,
            serverPaging: true,
            serverSorting: true,
            pageSize: 50,
            batch: false,
            
            columns: [{
                field: "PatientFirstName",
                title: "Patient First Name", width: 100, filterable: false
            }, {
                field: "PatientLastName",
                title: "Patient Last Name", width: 100, filterable: false
            }, {
                field: "Cost",
                title: "Cost", width: 50, filterable: false
            }, {
                field: "PatientPayAmount",
                title: "Patient PayAmount", width: 120, filterable: false
            }]
        });
    });

JavaScript

Posted
Comments
Kornfeld Eliyahu Peter 17-Dec-15 6:03am    
You should go to Telerik, they have a good support (community and payed)...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900