This is a migrated thread and some comments may be shown as answers.

Arrow key paging is not working kendoGrid but numeric paging is working properly.

1 Answer 41 Views
Grid
This is a migrated thread and some comments may be shown as answers.
vinod
Top achievements
Rank 1
vinod asked on 04 Mar 2014, 07:22 AM
When we add some record, its arrow key (<<  <  >  >>) paging is not working properly. But Number paging is (1,2,3,4,5)working properly.
How to make it correct? Can you please help me as soon as possible.

Function to show data.

var diagnosticDataSource = null;
var template = kendo.template($("#diagnosticRowTemplate").html());


var diagnosticGrid;

diagnosticDataSource = new kendo.data.DataSource({
    transport: {
        read: {
            url: "/ControllerName/Action",
            dataType: "json",
        }
    },
    pageSize: 10
});

function ShowDiagnostics() {
    diagnosticDataSource.read();
    var columns = [
        { title: "DiagnosticBuilderID", field: "DiagnosticBuilderID", hidden: true, type: "number", filterable: false },
        { title: "Template Name", field: "TemplateName", hidden: false, type: "string", filterable: false },
        { title: "Target", field: "Target", hidden: false, type: "string", filterable: false },
        { title: "No. of Questions", field: "NumberOfQuestions", hidden: false, type: "number", filterable: false },
        { title: "Action", field: "", hidden: false, type: "string", filterable: false }

    ];

    diagnosticGrid = $("#tblDiagnostics").kendoGridAcademy({
        columns: columns,
        dataSource: diagnosticDataSource,
        rowTemplate: kendo.template($("#diagnosticRowTemplate").html()),
        filterable: true,
        pageable: true,
        serverPaging: true,
        serverFiltering: true,
        serverSorting: true
    });
    $(diagnosticGrid).refresh();
}

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 04 Mar 2014, 11:55 AM
Hello,

Could you reproduce this behavior in any of our online demos? If yes could you please let us know what the required steps are?

Regards,
Atanas Korchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
vinod
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or