目的: V120202E 版面配置 - border – [north,center] – [east,center]
2>第2層 : [east,center] , east: 必需設 width
目的: V120202E 版面配置 - border – [north,center] – [east,center]
目的: V120202B css - div margin border 的用法 - table cellsapcing - cellpadding border 的用法
HTML online : https://www.tutorialspoint.com/online_html_editor.php
<tr>
<td width=35%>機號: A049 </td>
<td width=35% '>工號: 12345678</td>
<td width=35% '>工單件號: SROPN_1 </td>
</tr>
</table>
目的: V80201 – 生工OSM查詢 – 開啟子視窗
處理說明:
目的: Table 的邊框設定 - 利用 border=1 和 style=' border:1 red solid;' 的差異
處理說明: 1>Cell無邊框
<table style = 'border: 1px solid blue; ' id = 'my_tbl' >
style設定的border只有針對目前的邊框做設定
並不會針對 table.cell設定邊框
3>Table 邊框的設定
目的: 子視窗, 自動填滿畫面的設定
註意:north和south部分只能設置高度(height),west和east部分只能設置寬度(width)。center區域必須有,且它的大小是在其他4個部分設置好以後自動計算出來的,所以不能為它指定寬度值或高度值。
Ex:var borderPanel = new Ext.Panel({
renderTo: 'borderDiv', layout: 'border', tltle: 'Border Layout', width: 1000, height: 800, defaults: { collapsible: true, // 支持該區域的展開和折疊 split: true, // 支持用戶拖放改變該區域的大小 bodyStyle: 'padding:15px' }, items: [{ title: 'Footer-s', region: 'south', height: 100, minSize: 75, maxSize: 250, html: '這是南邊區域 south' }, { titlr: 'Main Content-c', region: 'center', collapsible: false, html: '這是中間區域 center' },
var fitPanel = new Ext.Panel({ renderTo: 'fitDiv', layout: 'fit', width: 500, height: 300, items: [{ title: 'Fit Panel', html: '111111111111' }] });
var vboxPanel = new Ext.Panel({ renderTo: 'vboxDiv', layout: { type: 'vbox', align: 'stretch' //拉伸使其充滿整個父容器 }, width: 500, height: 300, items: [{ title: 'panel-1', html: 'flex:1', flex: 1 }, { title: 'panel-2', html: 'height:150', height: 150 }, { title: 'panel-3', html: 'flex:2', flex: 2 }] });</span>