本帖最后由 heyajun403 于 2012-05-22 17:51:05 编辑

解决方案 »

  1.   


    Ext.onReady(function() {
        var win = new Ext.Window({
          title: "table Layout",
          height: 210,
          width: 290,
          plain: true,
          bodyStyle: 'padding:15px',
          layout: 'table',
          layoutConfig: {
            columns: 3
          },
          defaults:{width:80,height:50},
          items:
          [{
                html:'<p>Cell A</p>',
                rowspan: 2
            },{
                html:'<p>Cell B</p>',
                colspan:2
            },{
                html:'<p>Cell C</p>'
            }]
      
        });
        win.show();
      });
      

  2.   

    zhangandli   你好,你的代码我这执行后也是没有行列合并的效果,三个cell在一行.
      

  3.   

    另外,我的帖子上应该改一下,
    layoutConfig: {
       columns: 2
    },
    是2列.复制了一段代码,搞混了...