View Full Version : Problem with paging tool bar
Baron89
10 Oct 2012, 1:54 AM
Hi all,how can i move the paging tool bar msg to the left side?(and paging button keeps on the right side):)39269
Elfayer
10 Oct 2012, 1:58 AM
Don't you have a
'->',
in your code? If so, try to remove it.
Baron89
10 Oct 2012, 3:30 AM
sorry,i dont have php code,only javascript
Elfayer
10 Oct 2012, 3:54 AM
This is ExtJs code, I've put it in a PHP tag because it puts color on the code.
Could you show us your toolbar code?
Baron89
10 Oct 2012, 4:18 AM
umm,its generated by Extjs Designer,not quite remember,its sth like below
tbbar: {
xtype: 'paging',
pageSize: 5,
displayInfo: true,
displayMsg: 'Record <b>{0}</b> to <b>{1}</b> of <b>{2}</b>',
buttonAlign: 'right',
}
Baron89
10 Oct 2012, 4:58 PM
This is ExtJs code, I've put it in a PHP tag because it puts color on the code.
Could you show us your toolbar code?
seems need to change or add some css code?
webfriend13
10 Oct 2012, 7:53 PM
Following code is working fine for me. Just try it
var bottomBar = Ext.create('Ext.PagingToolbar', {
store: store,
id: 'pagingTbarId',
displayInfo: true,
displayMsg: 'Displaying {0} - {1} of {2}',
emptyMsg: "No result to display",
dock: 'bottom'
});
Baron89
10 Oct 2012, 9:42 PM
sorry,maybe u dont understand my question.i want to set those displayMsg at the very left side,and the pagingbutton at the ver rigth side of the toolbar
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.