我有一个简单的风险评估矩阵,建立在表格布局中.我有听众,相应地改变那个单元格的背景颜色.它完全适用于我想要它在chrome中的方式.但在Internet Explorer中工作不正常.
请看这个小提琴以获得更好的解释.
这是我的代码: -
Ext.create('Ext.TabPanel', {
name: 'myContainer',
id: 'myContainer',
renderTo: Ext.getBody(),
items: [{
title: 'Assessment',
name: 'assessmentPanel',
id: 'assessmentPanel',
layout: {
type: 'table',
tdAttrs: {
style: {
border: '1px solid #ccc'
}
},
// The total column count must be specified here
columns: 5
},
defaults: {
// applied to each contained panel
bodyStyle: 'padding:30px',
html: 'Risk',
scroll: false,
//border: true
//margin: '0 15 0 0'
},
items: [{
html: '<font color="white">Risk</font>',
//cellCls: 'first-row',
listeners: { …Run Code Online (Sandbox Code Playgroud)