我有低于tpl
items: [{
xtype: 'container',
data: record.data,
tpl: new Ext.XTemplate(
'<tpl>' +
'<div id="table-w"><div id="table-s"><table class="count-grid" >' +
"<tr>" +
"<tpl for='.'>" +
"<th align='left' class='x-grid-subtable-header'>" + "Count"
"</tpl>" +
"</tr>" +
"<tpl for='user'>" +
"<tr>" +
"<td align='left'class='x-grid-subtable-cell x-grid-cell-inner'>{value}</td>" +
"</tr>" +
"</tpl>" +
"</table></div></div>" +
"</tpl>")
}],
从上面的代码中,我想对这些行应用替换颜色
"<tr>" +
"<td align='left'class='x-grid-subtable-cell x-grid-cell-inner'>{value}</td>" +
"</tr>"
有人能帮我用CSS吗?
1条答案
按热度按时间xfyts7mz1#
于飞:
JS: