• Ext:RowLayout和ColumnLayout连用必须加panel的问题


    <ext:RowLayout ID="RowLayout1" runat="server" Split="false">
                                                    <Rows>
                                                        <ext:LayoutRow RowHeight=".5">
                                                            <ext:Panel runat="server">
                                                                <Items>
                                                                    <ext:ColumnLayout ID="ColumnLayout1" runat="server" Split="false" FitHeight="true">
                                                                        <Columns>
                                                                            <ext:LayoutColumn ColumnWidth=".5">
                                                                                <ext:Panel ID="Panel7" runat="server" Border="false" ColumnWidth=".5">
                                                                                    <Content>
                                                                                        <div id="colRealContrast">
                                                                                        </div>
                                                                                    </Content>
                                                                                </ext:Panel>
                                                                            </ext:LayoutColumn>
                                                                            <ext:LayoutColumn ColumnWidth=".5">
                                                                                <ext:Panel ID="Panel8" runat="server" Border="false" ColumnWidth=".5">
                                                                                    <Content>
                                                                                        <div id="pieRealContrast">
                                                                                        </div>
                                                                                    </Content>
                                                                                </ext:Panel>
                                                                            </ext:LayoutColumn>
                                                                        </Columns>
                                                                    </ext:ColumnLayout>
                                                                </Items>
                                                            </ext:Panel>
                                                        </ext:LayoutRow>
                                                        <ext:LayoutRow RowHeight=".5">
                                                            <ext:Panel runat="server">
                                                                <Items>
                                                                    <ext:ColumnLayout ID="ColumnLayout2" runat="server" Split="false" FitHeight="true">
                                                                        <Columns>
                                                                            <ext:LayoutColumn ColumnWidth=".5">
                                                                                <ext:Panel ID="Panel10" runat="server" Border="false" ColumnWidth=".5">
                                                                                    <Content>
                                                                                        <div id="colRiseContrast">
                                                                                        </div>
                                                                                    </Content>
                                                                                </ext:Panel>
                                                                            </ext:LayoutColumn>
                                                                            <ext:LayoutColumn ColumnWidth=".5">
                                                                                <ext:Panel ID="Panel11" runat="server" Border="false" ColumnWidth=".5">
                                                                                    <Content>
                                                                                        <div id="pieRiseContrast">
                                                                                        </div>
                                                                                    </Content>
                                                                                </ext:Panel>
                                                                            </ext:LayoutColumn>
                                                                        </Columns>
                                                                    </ext:ColumnLayout>
                                                                </Items>
                                                            </ext:Panel>
                                                        </ext:LayoutRow>
                                                    </Rows>
                                                </ext:RowLayout>
     <ext:LayoutRow RowHeight=".5">下不加panel时,会提示错误
  • 相关阅读:
    对bootstrap不同版本的总结
    对于前后端分离的理解
    css3笔记
    Dom
    js菜单
    css兼容问题 ie6,7
    html知识
    前端基础知识
    前端要注意的代码规范
    bootstrap常见类的总结
  • 原文地址:https://www.cnblogs.com/jinianjun/p/2776779.html
Copyright © 2020-2023  润新知