:: Forum >>

No vertical scrollbar after adding rows

Hello, I think I have found a bug in the grid v2.0-std-developer version. It appears on IE and Firefox.

If I load the grid with no enough rows to show the vertical scrollbar and after that I start adding rows, the vertical scrollbar doen´t appear, and I have to move between rows using the keyboard…

You can see an easy example of this changing the example: “add delete row.htm” to start load initially only 10 rows (obj.setRowCount(10);)

We detected this problem in previous releases, but it doesn´t seem to be solved in the final version. http://www.activewidgets.com/javascript.forum.8217.9/no-scroll-bars-after-adding.html

Thanks in advance for your help,

José Luis.

Jose Luis (Spain)
Thursday, February 23, 2006
After you add the rows, make the following call:

obj.raiseEvent("adjustScrollHeight");
Jim Hunter (www.FriendsOfAW.com)
Thursday, February 23, 2006
Thanks Jim, I also have found a post where Alex suggest :

obj.raiseEvent("adjustScrollHeight");
obj.raiseEvent("adjustScrollBars");


but... don't you think raising those events should be responsability of the grid?

Anyway it works, thanks.
Jose Luis (Spain)
Thursday, February 23, 2006
Yes, I think it should be. Alex will have to address that. But for now at least you have a solution to your problem.
Jim Hunter (www.FriendsOfAW.com)
Thursday, February 23, 2006

This topic is archived.


Back to support forum

Forum search