隐藏JS错误,ext grid自动换行

隐藏页面JS错误

window.onerror = function () { return true; }

修改extjs3.X grid内容自动换行

    <style type="text/css">
  .x-grid3-cell-inner, .x-grid3-hd-inner { white-space:normal !important; } 
    </style>

修改extjs4 grid表头和内容自动换行

    <style type="text/css">
  .x-grid-cell-inner, .x-grid-hd-inner { white-space:normal !important; } //内容
  .x-column-header-inner,.x-column-header-text { white-space:normal !important; } //表头
    </style>
原文地址:https://www.cnblogs.com/shadowtale/p/2913199.html