グリッド セルの背景を変更する必要があります。コードでテキストの色を変更します。
getRowClass: function(record, rowIndex, rowParams, store){
var grupo = record.get("tipo");
if (grupo == 'G'){
console.log('Grupo');
return 'redUnderlinedText';
}
.redUnderlinedText {
background-color: blue;// <= this code doesn't work
color: red;
text-decoration: underline;
cursor: pointer;
}
以下に示すように、セルの背景を変更したいと思います。
これは可能ですか?
ありがとう、クラウディオ。