3.0.0

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
September 27,
i need too, this problem is killing me.
Pc (from Brazil)
September 28,
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
October 27,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.