//设置样式 JS
var SetRowClass = function(record, rowIndex, rowParams, store) {
if (record.data.status == "PFSTA0005" || record.data.status == "PFSTA0015") {
return 'x-grid-record-yellow';
}
}
//Body
<View>
<ext:GridView ID="GridView1" runat="server" EnableRowBody="true">
<GetRowClass Fn="SetRowClass" />
</ext:GridView>
</View>