3.2.0

scrollbars overflow bugged?

Hi
I can't get the scrollbars to work properly.

I need to set the header height to 40 (customer wich), so I use

var obj = new AW.Grid.Extended;
obj.setHeaderHeight(40);
obj.getHeadersTemplate().setClass("text", "wrap");
obj.setHeaderText(myHeaders);
obj.setCellText(myCells);
set number of columns/rows
obj.setColumnCount(myHeaders.length);
obj.setRowCount(myCells.length);
obj.setSelectionMode("single-row");
document.write(obj);

The result is that the vertical scrollbars never act the way it should, I alwyas miss the last line... can't scoll to show it

If I increase the value to a higher one, for example 120 or 240, just to test it, the problem is even bigger, cause many more lines are not reachable

Suggestions?
Francesco_G
October 31,
Francesco,

I cannot reproduce this problem - the code you posted works just fine. Which AW version do you have? Is it the same in different browsers? On a clean page?
Alex (ActiveWidgets)
October 31,
thx for your answer.
I'm using the V2.0, purchased like 10 days ago.

I think I got it why, but can't find any solution.
I guess it's something related with the Style

<style>
.....
.....

.aw-alternate-even {height:20px; background: #FFFFFF; border-bottom: 1px solid #ccc}

.aw-alternate-odd {height:20px; background: #ECF7FB; border-bottom: 1px solid #ccc}
.....
.....

</style>

If I remove the "heigh:20px" it works the way it should.
Using that style results in the described behaviour, can't scroll to the last line
Francesco_G
November 2,
You should remove height:20px from aw-alternate-odd/even classes and add to aw-grid-row instead -

.aw-grid-row {height:20px}
Alex (ActiveWidgets)
November 2,
yup, it works!
Thanks again

Last question, cause now I have these bahaviours

http://img74.imageshack.us/img74/4687/imm1op3.jpg
http://img74.imageshack.us/img74/1154/imm2mm6.jpg

(check the ellipses on the right)

The grid on the top is in a table, the lower one is in an IFRAME, but the behaviour is the same.
It's odd and random though, it happens just on resize or maximize.
Sometimes the scrollbars are stuck like that and there is no way to fix them but resizing the window using the mouse. Not a very big deal, but, as usual, this is like the most important bug to fix... Do you know if my customer has validated the values exposed in the grid? I guess he didnt!

Happy programming!
Francesco_G
November 2,
hi all,
I'm still looking for a solution over this topic.
The problem is still up to date, can't find a solution to this odd behaviour.

Thanks in advance
Francesco_G
November 29,

This topic is archived.

See also:


Back to support forum