PDA

View Full Version : Additional Buttons in Ext.PagingToolbar



ReBorn
29 Mar 2010, 1:40 AM
Hi Everyone!

I'm trying to place a button inside Ext.PagingToolbar's left corner, while paging buttons must be in the right corner.

http://www.picamatic.com/show/2010/03/29/09/39/6487908_bigthumb.jpg (http://www.picamatic.com/view/6487908_grid/)

I've used
buttonAlign: "right" property in the toolbar's config and
items: [{
xtype: "box",
width: "100%"
},
"->",
{
xtype: "button",
text: "????????", }] but no luck for now B)
Can anybody point me to the right direction please?

Animal
29 Mar 2010, 1:51 AM
http://www.extjs.com/deploy/dev/docs/?class=Ext.PagingToolbar&member=prependButtons

ReBorn
29 Mar 2010, 2:09 AM
Thank You, Animal!
Works like a charm.


prependButtons : true,

items: [ {xtype: "button"}, "->"}

and no special buttons alignment configuration needed.