API method for grid width/height
Is there an API method for determening the width/height of the grid object after it has been rendered or after the control size has been set?
objGrid = new AW.UI.Grid
objGrid.setId("myGrid")
w = body.clientWidth
h = body.clientHeight
objGrid.setControlSize(w, h)
...//get width/height ???
document.write(objGrid)
The reason I ask is because the grid may not always have a fixed width as defined by a style rule property. The grid's width may depend on the space available on a web page (which at the same time depends on the viewer's monitor settings).
So, after the control size has been set...
Is there a way to retrieve the width/height via API method calls?
Is there such a thing as objGrid.getControlSize()?
If not, how else could one go about this (without the use of css styles)?
objGrid = new AW.UI.Grid
objGrid.setId("myGrid")
w = body.clientWidth
h = body.clientHeight
objGrid.setControlSize(w, h)
...//get width/height ???
document.write(objGrid)
The reason I ask is because the grid may not always have a fixed width as defined by a style rule property. The grid's width may depend on the space available on a web page (which at the same time depends on the viewer's monitor settings).
So, after the control size has been set...
Is there a way to retrieve the width/height via API method calls?
Is there such a thing as objGrid.getControlSize()?
If not, how else could one go about this (without the use of css styles)?
Mario
February 9,