Wednesday, 7 May 2014

Grid with rowspans in zk ?

<zk>
  <grid>
    <auxhead>
      <auxheader label="A" />
      <auxheader label="B" />
      <auxheader label="C" colspan="2" />
      <auxheader label="D" colspan="2" />
      <auxheader label="E" colspan="3" />
    </auxhead>
    <columns visible="false">
      <column />
      <column />
      <column />
      <column />
      <column />
      <column />
      <column />
      <column />
      <column />
    </columns>
    <rows>
      <row>
        <cell rowspan="2" style="border: 1px solid #000">F</cell>
        <cell style="border: 1px solid #000">H</cell>
        <cell colspan="7" rowspan="5" style="border: 1px solid #000">Data</cell>
      </row>
      <row>
        <cell style="border: 1px solid #000">I</cell>
      </row>
      <row>
        <cell rowspan="3" style="border: 1px solid #000">G</cell>
        <cell style="border: 1px solid #000">J</cell>
      </row>
      <row>
        <cell style="border: 1px solid #000">K</cell>
      </row>
      <row>
        <cell style="border: 1px solid #000">L</cell>
      </row>
    </rows>
  </grid>
</zk>

No comments:

Post a Comment