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

Pager Configuration

2 Answers 175 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David OBrien
Top achievements
Rank 1
David OBrien asked on 21 Aug 2012, 08:40 PM
I have a pretty simple grid

var element = $("#grid").kendoGrid({
          dataSource: {       
                      pageSize: 10,
                                   type: "json",                                     
                                    transport: {
                                        read: {
                                            url: queryurl,
                                            dataType: "json"
                                        }
                                    },
                                    schema: {
                                        data: "data",
                                        total: "total"
                                    }
                                },
                                detailInit: detailInit,
                                selectable: true,
                                sortable: true,
                                filterable: true,
                                columnMenu: true,                               
                                columns: [ {
                                        field: "PackageID",
                                        width: 90,
                                        title: "Package ID"
                                    } , {
                                        width: 50,
                                        field: "Installations",
                                        title: "Installations"                                       
                                    } , {
                                        field: "InstalledPackage",
                                        width: 100,
                                        title: "Installed Package"
                                    } , {
                                        width: 100,
                                        field: "ApplicationName",
                                        title: "Application Name"
                                    } , {
                                        width: 100,
                                        field: "Windows7Certified",
                                        title: "Win7 Certified"
                                    } , {
                                        width: 120,
                                        field: "RecommendedVersion",
                                        title: "Recommended Version"
                                    }
                                ],
                                pageable: {
                                    numeric: true,
                                    previousNext: true,
                                    refresh: true,
                                    pageSizes: [ 10 , 25, 50 ]
                                },
                            });
                        }
                    }).data("kendoComboBox");

works well however I am confused about the pager bar

even the most basic grid in the demos show more information than mine.
all I see are the page numbers themselves and the ellipse to indicate more than 10 pages

I have tried setting the messages: but that doesn't work either

How can I get the prevnext page x of x  totals rows etc... to show? like...

pageable: {
    numeric: true,
    refresh: true,
    pageSizes: [ 10 , 25, 50 ],
    previousNext: true,
    input: true,
    info:true
},

2 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 24 Aug 2012, 05:03 PM
Hi David,

May I ask what KendoUI version you are using? The Kendo pager configuration options was introduced in the latest official release (2012.2.710) and will not work with previous versions of the framework.

I tested your pageable configuration in this fiddle and got everything to work as expected. Could you please check my example and let me know what I am missing.

Regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
David OBrien
Top achievements
Rank 1
answered on 24 Aug 2012, 05:33 PM
I feel like an idiot....

upgraded and everything works lovely now ... sorry for wasting your time :\
Tags
Grid
Asked by
David OBrien
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
David OBrien
Top achievements
Rank 1
Share this question
or