:: Forum >>

How to set a grid to expand/shrink when parent is resized

I have developed my own drag/resize control, which is basically a DIV which gets its size on the fly based on mouse drop drop events...

Now, i am trying to put AW Grid on one resizable DIV. My goal is to have the AW grid take 100% of the available width automatically, such that when i resize the DIV, the AW Grid will size up accordingly.
Is that possible?....

Ivan A Slavov
Wednesday, May 9, 2007
You can set grid width/height to 100% -

obj.setStyle("width", "100%");
obj.setStyle("height", "100%");
Alex (ActiveWidgets)
Thursday, May 10, 2007

This topic is archived.

Back to support forum

Forum search