PDA

View Full Version : Problem with Scrollbar ExtJS Example



jbono
3 Nov 2009, 10:03 AM
Hello, I tried searching the forums, but I didn't have any luck so any help would be appreciated. I am trying to run example #4 here:

http://www.extjs.com/deploy/dev/examples/grid/grid-plugins.html

which looks like it renders correctly. However, when I cut and paste, using the exact same code, my scrollbar is cut off.

I am including a screen shot

Any ideas on this? Is this a bug?

I am using v3.0.0.

Thank you!

aw1zard2
3 Nov 2009, 10:08 AM
What browser and version are you using?

jbono
3 Nov 2009, 10:11 AM
Sorry for not including this before. I've tried a couple of browsers:

* IE 7.0
* Firefox 3.5.4

Haven't tried IE 8

Thank you!

aw1zard2
3 Nov 2009, 10:24 AM
The examples on ext's website is using a different ext 3 version then the one from the download.

In ext 3.0.0 it shows like your picture.
In a fixed svn version it works correctly.

So if you can wait for 3.1 the problem will go away.

:)

jbono
3 Nov 2009, 10:29 AM
At least I know it's not just me. I'm happy to know it's going to be fixed in a future release. The problem is that I'm a bit stuck now as to what to do.

Any help/thoughts on this?

aw1zard2
3 Nov 2009, 10:30 AM
Check the bugs forums if it was fixed means it went through there.
They might have posted a work-around fix for it.

:)

jbono
3 Nov 2009, 12:20 PM
I figured out a temporary workaround which is to use the grid.setHeight function.

e.g. grid.setHeight(450);

which seems to redraw the grid correctly.

I hope this helps someone else until 3.1 comes out.