zoukankan      html  css  js  c++  java
  • items中多个checkgroup在IE6下无法完整显示

    旧代码如下:

     1 Ext.fxpg=Ext.extend(Ext.form.FormPanel ,{
     2     labelWidth:135,
     3     region:"center",
     4     bodyStyle:'position:relative;',
     5     frame:true,
     6     initComponent: function(){
     7         this.items = [{xtype: 'checkboxgroup',
     8                         fieldLabel: '1)、对象曾经的经历',
     9                         name:'ddcjdjl',
    10                         id:'ddcjdjlId', 
    11                         columns: 4,
    12                         items: [
    13                              {
    14                                 boxLabel : '有格斗..',
    15                                 name : 'cb_dxcjdjl',
    16                                 inputValue : '0060010001',
    17                                 listeners : {
    18                                     'check' : function() {
    19                                         specifySingleCheck("ddcjdjlId", 0, 5);
    20                                     }
    21                                 }
    22                             }, {
    23                                 boxLabel : 'b、有过前科劣迹',
    24                                 name : 'cb_dxcjdjl',
    25                                 inputValue : '0060010002',
    26                                 listeners : {
    27                                     'check' : function() {
    28                                         specifySingleCheck("ddcjdjlId", 2, 5);
    29                                     }
    30                                 }
    31                             }

    .... 

    原显示结果:

     

     将以上的“

    bodyStyle:'position:relative;'”修改为“bodyStyle:'position:relative;overflow-y: scroll;'

     修改完后显示结果正确了

     

     具体为什么强制滚动条就可以了,有谁解释下呢?

  • 相关阅读:
    Web大文件上传断点续传解决方案
    STL 源代码剖析 算法 stl_algo.h -- rotate
    BZOJ 1260 CQOI2007 涂色paint 动态规划
    Shiro学习(总结)
    数组与指针
    Doing Homework again(杭电1789)
    leetCode 75.Sort Colors (颜色排序) 解题思路和方法
    hdu 4786 Fibonacci Tree(最小生成树)
    Havel--Hakimi定理推断可图化 python
    最近小感——一个残疾人写的操作系统
  • 原文地址:https://www.cnblogs.com/yimu/p/SSJJ.html
Copyright © 2011-2022 走看看