PDA

View Full Version : Scrollbar in Gridpanel



sathishkumar4
18 Jun 2009, 6:09 AM
I'm trying to applying scroll bar,It's giving error in CSBfleXcroll(),please give me some advice how to do it.

var grid = new Ext.grid.GridPanel({
store: JsonStore,
frame:true,
columns: [
//{id:'id'},
{header: "FirstName", width: 75},
{header: "LastName", width: 75},

],
autoScroll:true,

listeners: {
render: function(c){

CSBfleXcroll();
}
},
//stripeRows: true,
//autoExpandColumn: 'FirstName',
height:350,
width:600,
// title:'Array Grid'
});

18 Jun 2009, 7:38 AM
remove autoScroll: true,

your columns need a dataIndexd.

You are absolutely not helping us help you by saying "It's giving error in CSBfleXcroll()"

Animal
18 Jun 2009, 7:40 AM
Get the 10 foot pole out.

It's some kind of fancy div-based scrolling thing which give no benefit other than a bit of <blink>