PDA

View Full Version : how could i add an auto-scroll functionality to this code ?



8 Apr 2010, 1:58 AM
i have added the config option {autoScroll:true,autoHeight:true}, but it still doesn't work.

pls help me. thanks.


items : [{
/* deploy step 1 */
title : "Step 1",
items : [s1_form, grid],
autoScroll:true,
autoHeight:true
}, {
/* deploy step 2 */
title : "Step 2",
html : 'tab1'
}, {
/* deploy step 3 */
title : "Step 3",
html : 'tab1'
}, {
title : "Step 4",
html : 'tab1'
}, {
title : "Step 5",
html : 'tab1'
}]
}]

look at deploy step one, it is supposed to be a Ext.Panel right? and i check the api document , added "autoScroll" it doens't work.