PDA

View Full Version : Grid with locked columns and paging toolbar in both locked and unlocked views



ttbgwt
9 Oct 2012, 9:39 AM
I have a grid with a bottom paging toolbar and a couple of locked columns. The bottom paging toolbar is appearing in both the locked view and unlocked views. How can I configure the grid to not show the bottom paging toolbar in the locked view? Thanks

ttbgwt
9 Oct 2012, 10:06 AM
This worked for me, but is there a better way to accomplish this?



lockedGridConfig: {
closable: false,
listeners: {
render: function (grid) {
var pagingToolbar = grid.child('pagingtoolbar');
if (pagingToolbar) {
grid.remove(pagingToolbar, true);
}
}
}
}