rowsPerPageOptions option in datatable paginator is coming very big select box

29 views
Skip to first unread message

Chaitanya Yarlagadda

unread,
Feb 25, 2016, 8:35:13 AM2/25/16
to yui-support




 
Hi,

Configured the rowsPerPageOptions in the paginator options in DataTable  Widget.but select box is coming very big.how to resize the select box.
using yui 2.9 version.

// YUI Paginator definition
         this.widgets.paginator = new YAHOO.widget.Paginator(
         {
            containers: [this.id + "-paginator", this.id + "-paginatorBottom"],
            rowsPerPage: this.options.pageSize,
            initialPage: this.currentPage,
rowsPerPageOptions: [25,50,75,100,500],
            template: this.msg("pagination.template"),
            pageReportTemplate: this.msg("pagination.template.page-report"),
            previousPageLinkLabel: this.msg("pagination.previousPageLinkLabel"),
            nextPageLinkLabel: this.msg("pagination.nextPageLinkLabel")
         });
Reply all
Reply to author
Forward
0 new messages