:: Forum >>

Half of the rows are displayed when use setScrollTop

We're using AW Extended grid and half of the rows are are displayed when we use setScrollTop method at one of our business scenario. The rows are displaying only when just clicking of the scroll bar in the grid.

The following code we are using in our application and please let us know if you've any possible solution to resolve this ASAP.

function selectGridRowScroll(nRow)
{
try
{
this.objAWGrid.setSelectedRows([nRow]);
var height = this.objAWGrid.getStyle("height");
height = parseInt(height.substring(0,height.length-2));
if((height/18) < (nRow+3))
{
this.objAWGrid.setScrollTop( (nRow*18));
}
}catch(err)
{
alert('Function Name : selectGridRowScroll() \n Error Number: '+ err.number +'\n Error Name : ' + err.name +'\n Error Message : ' + err.message );
}
}

[Note: If we use objAWGrid.refresh() after the setScrollTop then all the grid column headers and rows are displayed as blank.]

We're facing lot of issues in the refresh method too in the Extended grid and please give us the possible solution ASAP.
Pandi
Wednesday, September 27, 2006
i need too, this problem is killing me.
Pc (from Brazil)
Thursday, September 28, 2006
Hi,
You can make the grid working by this way after the setScrollTop method.

this.objAWGrid.raiseEvent("onScrollTopChanged");

We've tried the above one and working at our code. Try this one and hope it might be working for you too.
Pandi
Friday, October 27, 2006

This topic is archived.


Back to support forum

Forum search