-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have a north region that I want to be able to grow to expose a few more fields when a given radio button is clicked. All other radio buttons will cause these to hide. The only way I have been able to get it to work so far is to call north.invalidate() when the radio is clicked which causes the borderlayout to be recalculated.
The code example below does not include the code I use to make my div visible/hidden, which works just fine. What I am showing is what I have to do to force ZK to resize the north region so that my div made visible can be seen.
<radiogroup onCheck="north.invalidate()">
While this works, I don't like the fact I am using zscript to facilitate this. Is there a way that I can achieve the same in an mvvm fashion? Is there another way in which I can achieve dynamically resizing the north region?
Im not sure if is this what you want:
Asked: 2014-01-31 17:59:18 +0800
Seen: 19 times
Last updated: Jan 31 '14