-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello, the following code runs strangely in IE7 in Zk 3.6.4:
<?xml version="1.0" encoding="utf-8"?> <window> <zscript> void toggle() { r = g1.getRows(); r.visible = ! r.visible; } </zscript> <vbox> <grid id="g1"> <auxhead> <auxheader colspan="5"> <toolbarbutton label="toggle" onClick="toggle()" /> </auxheader> </auxhead> <columns> <column label="Brand" width="100px" /> <column label="Processor Type" width="150px" /> <column label="Memory (RAM)" width="120px" /> <column label="Price" width="100px" /> <column label="Hard Drive Capacity" width="150px" /> </columns> <rows> <row> <label value="Dell E4500 2.2GHz" /> <label value="Intel Core 2 Duo" /> <label value="2GB RAM" /> <label value="$261.00" style="color:green" /> <label value="500GB" /> </row> <row> <label value="XP-Pro Slim Dell-Inspiron-530-s" /> <label value="Intel Core 2 Duo" /> <label value="2GB RAM" /> <label value="$498.93" style="color:green" /> <label value="500GB" /> </row> </rows> </grid> </vbox> </window>
The toggle button shows/hides the body (rows). Each show/hide cycle causes the grid to get narrower. I don't see this behavior in 5 on the demo site, but I'm not in a position to upgrade right now.
/Daryl
Asked: 2010-04-13 08:27:22 +0800
Seen: 332 times
Last updated: Apr 19 '10