Ext.Net 1.x_Ext.Net.Panel之列布局
阿新 • • 發佈:2019-02-13
Ext.Net 1.x_Ext.Net.
我經常用到HTML中的表格,如果在EXT.NET 剛開始還真不知道怎麼搞?
群裡的APP CAI教我用PANEL 表示感謝!
<ext:Window ID="Window1" runat="server" Collapsible="true" Height="300" Icon="ApplicationEdit" Title="錄入報價單基本資訊" Width="600" Closable="false"> <Items> <ext:FormPanel ID="fpbasic" runat="server" Height="270" Icon="ApplicationEdit" ButtonAlign="Right" Collapsed="false" Padding="5" Layout ="ColumnLayout" AutoWidth="true"> <Items> <ext:Panel ID="Panel1" runat="server" LabelWidth="80" Border ="false" Header ="false" Layout="FormLayout" ColumnWidth=".50" LabelAlign="Right" Height="250"> <Items> <ext:TextField ID="txtQuotationCode" runat ="server" FieldLabel="報價單編號" AnchorHorizontal="100%" ></ext:TextField> <ext:TextField ID="TextField1" runat ="server" FieldLabel="品名" AnchorHorizontal="100%" ></ext:TextField> <ext:TextField ID="TextField2" runat ="server" FieldLabel="型號" AnchorHorizontal="100%" ></ext:TextField> <ext:ComboBox ID="ts" runat ="server" FieldLabel="銷貨型別" AnchorHorizontal="100%"></ext:ComboBox> <ext:NumberField ID="sfds" runat="server" FieldLabel="MOQ" AnchorHorizontal="100%"></ext:NumberField> </Items> </ext:Panel> <ext:Panel ID="Panel2" runat="server" LabelWidth="80" Border ="false" Header ="false" Layout="FormLayout" ColumnWidth=".50" LabelAlign="Right" Height="250"> <Items> <ext:ComboBox runat ="server" FieldLabel="客戶編碼" AnchorHorizontal="100%"></ext:ComboBox> <ext:ComboBox ID="ComboBox1" runat ="server" FieldLabel="匯率" AnchorHorizontal="100%"></ext:ComboBox> <ext:NumberField ID="sdfsd" runat ="server" FieldLabel="" AnchorHorizontal="100%"></ext:NumberField> <ext:NumberField ID="NumberField1" runat="server" FieldLabel=" 工時" AnchorHorizontal="100%"></ext:NumberField> <ext:Label ID="Label1" runat="server" FieldLabel=" 工程師" AnchorHorizontal="100%"></ext:Label> <ext:DateField ID="DateField1" runat="server" FieldLabel="日期" AnchorHorizontal="100%"></ext:DateField> </Items> </ext:Panel> </Items> <Buttons> <ext:Button ID="Button2" runat="server" Icon="PageWord" Text="上傳附件"> </ext:Button> <ext:Button ID="Button1" runat="server" Icon="Disk" Text="儲存(通知開發部)"> </ext:Button> </Buttons> </ext:FormPanel> </Items> </ext:Window>