ExtJs_colspan跨列

来源:互联网 发布:c语言整齐输出99乘法表 编辑:程序博客网 时间:2024/06/05 07:02

说明:个人觉得,跨列就相当于另起一行。

示例代码:

{
                layout: 'form',
                defaultType: 'textfield',
                defaults: {
                    width: Ext.isIE6?660:657         //特别说明:这宽度是要指定的,要不就不会跨列。
                },
                colspan: 3,          //说明:这是所跨的列数。
                items: [{
                       fieldLabel: '说明',
                       xtype: 'textarea',
                       height: 100,

                       //anchor: "100%",    //说明:如果没有指定其width,那就是用anchor。
                       name: 'model.ccctsm'
                }]

}

原创粉丝点击