-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I build an application where users can modify a generated grid by combining cells interactive.
When i have a 3x3 grid and combine the upper two cells in each column, only two rows are rendered and the upper is not twice as big. Is this intended behavior or a bug?
<grid>
<columns>
<column/>
<column/>
<column/>
</columns>
<rows>
<row>
<cell rowspan="2">x</cell>
<cell rowspan="2">x</cell>
<cell rowspan="2">x</cell>
</row>
<row>
<cell visible="false">x</cell>
<cell visible="false">x</cell>
<cell visible="false">x</cell>
</row>
<row>
<cell>x</cell>
<cell>x</cell>
<cell>x</cell>
</row>
</rows>
</grid>
I've been playing in fiddle with this.
Looks like when all your cells have the same rowspan, and even when an empty row follows, the height is adjusted to a normal row.
V
The moment when you use 1 cell with no rowspan, and the next row has 1 cell it works as expected.
This is tested for versions 6.5, 7 and 8 and all the same result.
You could always set the height
attribute of the row, with this you have a good control on the size of the row.
Greetz chill.
Asked: 2016-06-14 20:38:32 +0800
Seen: 16 times
Last updated: Jun 17 '16
How to control selectAll() feature in a Listbox with multiple=true and checkmark=true
ZK8 Wizard Series: Part 2 now released!
Faster And Lighter, The Performance Test On ZK8
org.zkoss.xel.XelException: Resource not found: http://www.zkoss.org/dsp/web/core
How To Check Dirty Status in ZK8?
Come and join the ''JS'' Hunt!