Hello,
My goal is to change (increase) the height of a Grid on a client resize event. My solution uses undocumented EO properties so I am concerned and would like a better approach. Can anyone help?
I found that Grid.setHeight() changes the height of the of the outer container (as documented) but the height of the inner container remains the same. btw In reading the forums it appears that Grid.setWidth() sets both the outer and inner containers. By setting the undocumented property "aod" I can resize a Grid. The following illustrates:
Quote:
function MyResize() {
iHeightTop = document.getElementById('WrapperTop').offsetHeight;
// GetHeight() gets the height of the container
iHeightNew = Math.max(40, GetHeight() - iHeightTop - 10);
Grid_IDSEventData.setHeight(iHeightNew);
Grid_IDSEventData.aod = iHeightNew;
}
Thanks,
Chris