on 02-26-2009 3:31 PM
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.
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).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
6 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.