modifying the setPagingSkin toolbar

I would like to modify how the pager looks when using the toolbar.

I need to add in the total number of records
example: Records from 1 to 40 of 395

Also, I would like to be able to modify the number of “Rows per page drop down”

It currently lists only 5,10,15,20,25,30 … I would prefer to change it to 10, 20, 30, 40, 100, 200, 500, 1000.

Thanks.

Please check this article docs.dhtmlx.com/doku.php?id=dhtm … aging_skin

Nothing I seem to do changes the pager… If I use the setPagingSkin(‘toolbar’,‘dhx_skyblue’); Can I not use the other calls like? setPagingTemplates()

If not… how can I modify the existing skin to accomplish what I stated previously?

Thanks!

In case of toolbar - you can define which buttons is necessary, and which options to show in select list, but nothing except of that.

You can access toolbar object , through

grid.aToolBar

and use any dhtmlxXToolbar API agains it

I finally found out how to change the page select quantities from “5, 10, 15, 20, 25, 30” to what I needed.

All I needed to do was call “setPagingWTMode(true,true,true,[30,60,90,120])” before “enablePaging()” and the toolbar had my values in it.

I’m using the toolbar paging skin “setPagingSkin(‘toolbar’,‘dhx_skyblue’)”] so this might not work if a different skin is used.