:: Forum >>

jump start

Hi there,

Trying to use this cool tool but having some issues.

I am using struts, tiles to assemble a page using different jsps. My intention of using this way is to keep all the pages except body/content page to be scrollable. So onload I check the browsers height and adjust the div overflow's height accordingly. So far so good.

My new requirement is to provide a nice data grid which can sort and scroll keeping the headers constant. Activewidgets was my first choice though I have never used it.

I created the basic grid from the free download. Now since I am using a div overflow and when the user open's the browser in a smaller than the max, i set the height and provide a scroll inside the body portion of the page. When i scroll the grid generated by this tool stays. It should move too, but providing a scroll for the data inside the grid.

I am sure few of you would have come across this situation.

Please let me know if there is a work around for this.

Thanks
Raaj
Raajkumar
Thursday, September 15, 2005
sounds like you wrote the grid to the body of the document and not into the DIV. Right now the grid is floating above the DIV and you need it to be in the DIV.

<DIV id=scrollDiv>
</DIV>
<script>
grd = new Active.Controls.Grid;
... do your stuff with the grid ...
document.getElementById("scrollDiv").innerHTML = document.getElementById("scrollDiv").innerHTML + grd;
</script>


try something like that.
Jim Hunter
Friday, September 16, 2005

This topic is archived.


Back to support forum

Forum search