Row children are automatically wrapped by a TD tag in row.dsp. Since we can't refer directly to the TD, we can't change the properties such as sclass, align or style of the TD tag. I propose a new Component perhaps called Rowcell that if added to Row takes care of the TD tag itself. I would think row.dsp could work as it does for any other child component, but if the child is a Rowcell, pass on rendering to rowcell.dsp which would take care of the TD tag and we could set/update properties on RowCell and have the TD reflect the changes.
This would be consistent with Listitem and Listcell.
See discussion in forum:
http://www.zkoss.org/forum/index.zul#path%3DlistComment%3BdiscussionId%3D5642%3BcategoryId%3D14%3B
This new Rowcell component should be able to support Row/Column span.
See this feature - https://sourceforge.net/tracker/index.php?func=detail&aid=1856413&group_id=152762&atid=785194
Ready since September 1.
The Cell component can be embedded into Row or Vbox or Hbox for fully control the style and layout.
For example,
<grid>
<rows>
<row>
<cell rowspan="12">2009</cell>
<cell rowspan="3">Q1</cell>
<cell>Jan</cell>
</row>
<row>
<cell>Feb</cell>
</row>
<row>
<cell>Mar</cell>
</row>
<row>
<cell rowspan="3">Q2</cell>
<cell>Apr</cell>
</row>
<row>
<cell>May</cell>
</row>
<row>
<cell>Jun</cell>
</row>
<row>
<cell rowspan="3">Q3</cell>
<cell>Jul</cell>
</row>
<row>
<cell>Aug</cell>
</row>
<row>
<cell>Sep</cell>
</row>
<row>
<cell rowspan="3">Q4</cell>
<cell>Qct</cell>
</row>
<row>
<cell>Nov</cell>
</row>
<row>
<cell>Dec</cell>
</row>
</rows>
</grid>