Ext2.0a GridPanel scrolling & GridView
Filed under: xn--cnq77f.com
I can't get the grid to scroll on 2.0a. I have:
gridProducts = new Ext.grid.GridPanel({
ds: dsProducts
,el: 'grid-products'
,cm: colm
,ddGroup: 'ddReclass'
,layout: 'fit'
,autoHeight: true
,autoWidth: true
,autoScroll: true
//,view: 'gvProducts'
});
and then in the page:
My specific problem: Scrollbars would never appear for a GridPanel when it was the sole content of the center region of a ViewPort. I was specifying, among other things, "autoScroll:true" and "autoHeight:true".
Solution: removing the "autoHeight:true" config parameter fixed the problem (the scrollbars then appeared when appropriate).
So my successful GridPanel declaration specified no autoHeight, height, nor width config parms.
Thanks to all of the question askers and especially the answerers -- these forums have been a great resource to me.
-radio1
#If you have any other info about this subject , Please add it free.# |