I ahve a page that contains a DataGrid control that is offset from the
left-hand side of the page by about 100 pixels. What I want to do is
stretch the DataGrid to fill the remainder of the page width as the
user resizes the window.
I have tried the following, to no avail:
<SCRIPT language="javascript">
void ResizeGrid() {
document.all.grdManifests.style.width = document.body.clientWidth -
150;
}
</SCRIPT>
<BODY onresize="ResizeGrid()">
..
..
..
</BODY>
Can anyone tell me what I'm doing wrong? Thanks!