PDA

View Full Version : Grid Vertical Scroll bar - Sorry!



dechambers
4 Jan 2011, 6:59 AM
Hi there, Happy New Year !

I am making a stupid mistake using the grid component & as a result I get no vertical scroll bar when required.

I wonder if anyone could save my sanity & point me in the right direction ? Here are the relevant parts of my code:



...
},{
id: 'card-2',

html: '<div style="height: 70px; background: transparent url(\'wizard-banner.png\') no-repeat right; border-bottom: 1px solid #DDDDDD; padding-left: 20px; padding-top: 10px">\
<h3>Select file shares</h3>\
<br>Choose the shares that you want to include \
\
<form id="shr">\
<input type="hidden" id="sharenames">\
<input type="hidden" id="sharepaths">\
</form>\
\
</div><div style="height: 200px" id="shares"></div>'
},{
...




...
var grid = new Ext.grid.GridPanel({
store: store,
height: 200,
frame: true,

columns: [
sm,
{header: "Share Name", width: 280, dataIndex: 'sharename', sortable: true},
{header: "Physical Path", dataIndex: 'path', sortable: true},
],
sm: sm,
renderTo:'shares',

});
store.load()
...


Many thanks,
Darren