案例:Extjs案例     状态:可编辑再运行    进入横版
AخA
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
   <link href="//cdn.bootcss.com/extjs/6.2.0/classic/theme-classic/resources/theme-classic-all.css" rel="stylesheet" />
5
   <script type="text/javascript" src="//cdn.bootcss.com/extjs/6.2.0/ext-all.js"></script>
6
   <script type="text/javascript">
7
      Ext.onReady(function() {
8
         Ext.create('Ext.container.Container', {
9
            renderTo : Ext.getBody(),
10
            layout : {
11
               type :'table',
12
               columns : 3,
13
               tableAttrs: {
14
                  style: {
15
                     width: '100%'
16
                  }
17
               }               
18
            },
19
            width:600,
20
            height:200,
21
            items : [{
22
               title : 'Panel1',
23
               html : 'This panel has colspan = 2',
24
               colspan :2

 运行结果 
 北美留学生论坛