-
FEATURED COMPONENTS
First time here? Check out the FAQ!
asked 2013-02-02 04:51:22 +0800
This post is a wiki. Anyone with karma >100 is welcome to improve it.
Hello,
when using component.setHeight(Xxxx) on a onClientUserInfo event the component does not get "Refresehed" right away It takes another onClientUserInfo (browser reize event) in order to make that one get to a bigger size (THE PREVIOUS OUNE)
I've tried to add the following : BindUtils.postNotifyChange(null, null, this, "*");
It didnt help.
Anyone have any idea how to make setHeight on a onClientInfo to occur right away ?
answered 2013-02-05 10:39:48 +0800
This post is a wiki. Anyone with karma >100 is welcome to improve it.
Hi TheAce,
You can refer to the following sample:
<zk>
<zscript><![CDATA[
int i = 10;
]]></zscript>
<window id="win" title="win" border="normal" >
<attribute name="onClientInfo"><![CDATA[
win.setHeight((5 * i++) + "px");
]]></attribute>
</window>
</zk>
Asked: 2013-02-02 04:51:22 +0800
Seen: 16 times
Last updated: Feb 05 '13
How to set Chart width in a window that have 100%?
Responsive UI Design using ZK example
Portalchildren width is not set properly
how to splitter collapse same function work on mover hover?
is fast keyboard navigation in zk possible without extensive use of javascript
Actually the problem was due to when I was going a "setHeight" and setWidth on a "west" element. It was kind of throwing an exception but not showing in any logs
TheAce ( 2013-02-02 13:37:43 +0800 )edit