cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically Resize Grid Applet

former_member1170711
Participant
0 Kudos

Is it possible to dynamically resize an applet using JavaScript? I want to have a couple of buttons below a grid applet that allow the user to change the applet height by selecting links that say something like "More Rows" or "Less Rows". I have tried various "solutions" that I have found on the web but none seem to work for the MII grid applet.

Thanks for your help.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

1) Did calling document.yourApplet.setSize(XXX,YYY) have any effect?

2) Have you tried containing the applet in some other HTML object (DIV, IFRAME), setting the applet size/width to 100%, then resizing the container?

In both cases, try calling updateGrid(true) or, if that doesn't work, try re-setting the DisplayTemplate using setDisplayTemplate (which forces the grid to recreate itself).

Answers (0)