Coolite布局 与结合运用

效果图:

html代码:

<ext:FormLayout ID="FormLayout1" runat="server" LabelWidth="40">
    <ext:Anchor>
            <ext:CheckboxColumn ID="CheckboxColumn1" runat="server" ColumnWidth="0.25" >
                <Items>
                    <ext:Panel  runat="server">
                        <Body>
                            <table>
                                <tr>
                                    <td>
                                        <ext:Checkbox ID="Checkbox27" runat="server" BoxLabel="客户帐号" Checked="true" />
                                    </td>
                                    <td>
                                        <ext:TextField ID="TextField2" runat="server"
                                            FieldLabel="客户帐号" Width="125" TabIndex="10"  >
                                        </ext:TextField>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                         <ext:Checkbox ID="Checkbox28" runat="server" BoxLabel="客户姓名" Checked="true" />
                                    </td>
                                    <td>
                                        <ext:TextField ID="TextField1" runat="server"
                                            FieldLabel="客户姓名" Width="125" TabIndex="11">
                                        </ext:TextField>
                                    </td>
                                </tr>
                                 <tr>
                                    <td>
                                         <ext:Checkbox ID="Checkbox1" runat="server" BoxLabel="地址"/>
                                    </td>
                                    <td>
                                        <ext:TextField ID="TextField3" runat="server"
                                            FieldLabel="地址" Width="125" TabIndex="11">
                                        </ext:TextField>
                                    </td>
                                </tr>
                                 <tr>
                                    <td>
                                         <ext:Checkbox ID="Checkbox2" runat="server" BoxLabel="电话" />
                                    </td>
                                    <td>
                                        <ext:TextField ID="TextField4" runat="server"
                                            FieldLabel="电话" Width="125" TabIndex="11">
                                        </ext:TextField>
                                    </td>
                                </tr>
                            </table>
                        </Body>
                   
                    </ext:Panel>
                   
                  
                </Items>
            </ext:CheckboxColumn>
    </ext:Anchor>
</ext:FormLayout>

你可能感兴趣的:(table)