FineUI 官方论坛
标题:
布局问题???
[打印本页]
作者:
Xiaonn
时间:
2013-2-26 18:40
标题:
布局问题???
我想 "
anel9" 高宽都是100%,"
anel10" 高宽100%(除去"Form6"后),"Grid1"充满 "
anel10" 并 autoscroll=true, 如何整,谢谢大虾。
<x
ageManager ID="
ageManager1" runat="server" FormLabelWidth="60px" FormLabelSeparator=":" />
<x
anel ID="
anel9" runat="server" EnableBackgroundColor="true" Layout="Fit" BodyPadding="5px"
ShowBorder="True" ShowHeader="True">
<Items>
<x:Form ID="Form6" ShowBorder="False" BodyPadding="2px" EnableBackgroundColor="true" ShowHeader="False" runat="server" Height="30px">
<Rows>
<x:FormRow ColumnWidths="95px 145px 105px 125px 125px 70px">
<Items>
<x:TextBox ID="txtQuote" runat="server" ShowLabel="false" EmptyText="Quotation No." Width="90px" ></x:TextBox>
<x
ropDownList ID="txtCreator" ShowLabel="false" runat="server" Width="140px" >
</x
ropDownList>
<x
ropDownList ID="txtEngg" ShowLabel="false" runat="server" Width="100px">
</x
ropDownList>
<x
atePicker runat="server" EmptyText="Release Date(Start)" ShowLabel="false" ID="txtFDate" Width="120px"> </x
atePicker>
<x
atePicker ID="txtTDate" Readonly="false" CompareControl="txtFDate" DateFormatString="yyyy-MM-dd" ShowLabel="false" CompareOperator="GreaterThanEqual" CompareMessage="the start date should more than end date结束日期应该大于开始日期" EmptyText="Release Date(End)" runat="server" Width="120px">
</x
atePicker>
<x:Button ID="txtSearch" Text="Search" runat="server" ></x:Button>
</Items>
</x:FormRow>
</Rows>
</x:Form>
<x
anel ID="
anel10" ShowBorder="True" ShowHeader="false" BoxFlex="1" Layout="Fit" runat="server">
<Items>
<x:Grid ID="Grid1" runat="server" EnableRowNumber="true" ShowHeader="false" ShowBorder="false" Title="Quotation Form Search"
DataKeyNames="id" EnableTextSelection="true" AutoScroll="True" Height="500px" >
<Columns>
<x:BoundField Width="50px" DataField="
lant" DataFormatString="{0}" HeaderText="厂区" />
<x:BoundField Width="80px" DataField="Creator" DataFormatString="{0}" HeaderText="业务员" />
<x:BoundField Width="80px" DataField="createdate" DataFormatString="{0}" HeaderText="提交日期" />
<x:BoundField Width="180px" DataField="Desc" DataFormatString="{0}" HeaderText="描述" />
</Columns>
</x:Grid>
</Items>
</x
anel>
</Items>
</x
anel>
欢迎光临 FineUI 官方论坛 (https://fineui.com/BBS/)
Powered by Discuz! X3.4