PDA

View Full Version : Scroll in border layout



sencha.user
21 Nov 2012, 5:41 AM
Hi,

I have a grid in border layout,

{
xtype: 'grid',
region: 'center',
url: 'data.php',
viewConfig: {
autoRender: true
}
}

autoScroll isn't working here. How that should be done?

I have a button in the same layout like,

{
xtype: 'button',
text: 'Select',
region: 'south',
listeners: {
click: {
fn: me.onButtonClick,
scope: me
}
}
}

It is stretched, can I change its width? Giving width value isn't working for button. Please help.

Thanks!

sencha.user
21 Nov 2012, 5:58 AM
Also need to know how column width can be set to the grid.