PDA

View Full Version : pagingtoolbar has undefined behavior



mdsina
27 Jan 2015, 1:34 AM
I have some grid with pagingtoolbar definition like this:




extend: 'Ext.grid.Panel',
alias: 'widget.someAlias',
store: 'some.someStore',
...
dockedItems: [{
xtype: 'pagingtoolbar',
pageSize: 50,
dock: 'bottom',
store: 'some.someStore',
displayInfo: true,
displayMsg: '?????? ? {0} ?? {1}, ????? {2}',
emptyMsg: "??? ???????",
beforePageText: '????????',
afterPageText: '?? {0}'
}],

...//in some form
{
xtype: 'fieldset',
title: 'aaaaa',
collapsible: false,
defaults: {
anchor: '100%'
},
layout: 'anchor',
items: [{
xtype: 'someAlias',
itemId: 'someId'
}]
}

But I get this

51588

In another form I get this:

51589

And allright. What I'm doing wrong?

Jad
27 Jan 2015, 2:27 AM
Hi

I think it's the default: { anchor: '100%' }

mdsina
30 Jan 2015, 1:38 AM
Hi

I think it's the default: { anchor: '100%' }

Thanks, but problem was there:



fieldDefaults: {
minWidth: 600,
maxWidth: 880
},