多表頭表格

表格多表頭模式,參見:http://www.360ui.net

雙表頭 ui

table-5

實現以下: spa

<table class="tableStyle" useCheckBox="true" useMultColor="true"> .net

    <tr> 設計

        <th rowspan="2" class="th_m2" ></th> ci

        <th colspan="2" class="th_m" >第一</th> input

        <th colspan="3" class="th_m" >第二</th> it

        <th colspan="2" class="th_m" >第三</th> table

    </tr> class

    <tr> im

       

        <th width="10%" class="th_m"></th>

        <th width="5%" class="th_m"></th>

        <th width="20%" class="th_m">工做</th>

        <th width="15%" class="th_m">系方式</th>

        <th width="20%" class="th_m">住址</th>

        <th width="10%" class="th_m">婚姻情況</th>

        <th width="10%" class="th_m">操做</th>

    </tr>

    <tr>

        <td width="5%"><input type="checkbox" value="1"/></td>

        <td></td>

        <td>25</td>

        <td>設計師</td>

        <td>15012546548</td>

        <td>天津市和平</td>

        <td>已婚</td>

        <td><span class="img_view hand" title=""></span><span class="img_edit hand" title="修改"></span><span class="img_delete hand" title=""></span></td>

    </tr>

    <tr>

        <td><input type="checkbox" value="2"/></td>

        <td></td>

        <td>25</td>

        <td>設計師</td>

        <td>15012546548</td>

        <td>天津市和平</td>

        <td>已婚</td>

        <td><span class="img_view hand" title=""></span><span class="img_edit hand" title="修改"></span><span class="img_delete hand" title=""></span></td>

    </tr>

 

</table>

 

三表頭

table-6

實現以下:

<table  class="tableStyle" useCheckBox="true" useMultColor="true">

  <tr>

    <th rowspan="3" class="th_m3"></td>

    <th colspan="4" class="th_m">星期一</th>

    <th colspan="4" class="th_m">星期二</th>

    <th colspan="4" class="th_m">星期三</th>

  </tr>

  <tr>

    <th colspan="2" class="th_m">上午</th>

    <th colspan="2" class="th_m">下午</th>

    <th colspan="2" class="th_m">上午</th>

    <th colspan="2" class="th_m">下午</th>

    <th colspan="2" class="th_m">上午</th>

    <th colspan="2" class="th_m">下午</th>

  </tr>

  <tr>

    <th class="th_m">1</th>

    <th class="th_m">2</th>

    <th class="th_m">3</th>

    <th class="th_m">4</th>

    <th class="th_m">1</th>

    <th class="th_m">2</th>

    <th class="th_m">3</th>

    <th class="th_m">4</th>

    <th class="th_m">1</th>

    <th class="th_m">2</th>

    <th class="th_m">3</th>

    <th class="th_m">4</th>

  </tr>

  <tr>

    <td><input type="checkbox" value="1"/></td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

  </tr>

  <tr>

    <td><input type="checkbox" value="2"/></td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

  </tr>

</table>
相關文章
相關標籤/搜索