View Full Version : Customize PagingToolBar Layout

13 Jan 2013, 7:51 AM
Hi everybody!

I'm not sure if my post is in the right part of the forum, so sorry about that.

I have just a question about de Layout of the PagingToolBar on GridPanel.

Actually my ToolBar looks like this :


And what i want is to custom the layout of this ToolBar to obtain something like this:


I don't know if there is a simple way to do that. So if you have suggestions for me, it could be very nice!

Thanks a lot! :)

If you need more informations to help me, tell me what you want!

14 Jan 2013, 4:20 AM
No easy way to do that ? :-?

14 Jan 2013, 5:14 AM
You'll need to extend/override Ext.toolbar.Paging (http://docs.sencha.com/ext-js/4-1/#!/api/Ext.toolbar.Paging). In particular, take a look at the getPagingItems() method in the source (http://docs.sencha.com/ext-js/4-1/source/Paging.html#Ext-toolbar-Paging). This is where the child components in the toolbar are created.

14 Jan 2013, 7:40 AM
Thanks for your answer! :)

I'll try that!