0

The ever-shrinking grid. (3.6.4)

asked 2010-04-13 08:27:22 +0800

dastultz gravatar image dastultz
797 9

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

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2010-04-14 20:22:17 +0800

PeterKuo gravatar image PeterKuo
481 2

Please post to bug, and let us track from there.

link publish delete flag offensive edit

answered 2010-04-15 15:23:44 +0800

dastultz gravatar image dastultz
797 9

https://sourceforge.net/tracker/?func=detail&aid=2987892&group_id=152762&atid=785191

/Daryl

link publish delete flag offensive edit

answered 2010-04-19 07:21:34 +0800

dastultz gravatar image dastultz
797 9

Peter, did you witness the behavior I describe? Jumper says it works for him.

/Daryl

link publish delete flag offensive edit

answered 2010-04-19 20:00:23 +0800

PeterKuo gravatar image PeterKuo
481 2

@ dastultz
I tested with just downloaded zk3.6.4, no such issue.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-04-13 08:27:22 +0800

Seen: 332 times

Last updated: Apr 19 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More