StripeRows: false,
GetRowClass: function (record, rowIndex rowParams, store) {
If (record) data) online==1 & amp; & Record. The data. The offline==0) {
Return 'gray';
Ext getCmp (" selectionchange "). GetSelectionModel (). The lock ();
} else {
StripeRows: true,
Return ';
}
},
},
Online and so on, have a look at the trouble is wrong, the color display not to come out,
CodePudding user response:
ViewConfig: {StripeRows: false,
GetRowClass: function (record, rowIndex rowParams, store) {
Var nodes=record..childnodes;
For (the let I=0; i
Nodes [I]. Set (" nodeName ", "& lt; Font color=red>" + nodes [I]. Data. The nodeName + "& lt;/font>" );
}
}
},
},