Hi,
Please look at the example.
The key points are:
1. GetRowClass of GridView
2. css 'my-class' rules
Example
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Ext.NET Example</title>
<style type="text/css">
.x-props-grid .x-grid3-body .x-grid3-row.my-class td {
background-color: Red !important;
border-right-color: Red;
}
.x-props-grid .x-grid3-row.my-class .x-grid3-td-name .x-grid3-cell-inner {
background-image: none !important;
}
</style>
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />
<ext:PropertyGrid
ID="PropertyGrid1"
runat="server"
Width="300"
AutoHeight="true">
<Source>
<ext:PropertyGridParameter Name="(name)" Value="Properties Grid" />
<ext:PropertyGridParameter Name="grouping" Value="false" Mode="Raw" />
<ext:PropertyGridParameter Name="autoFitColumns" Value="true" Mode="Raw" />
<ext:PropertyGridParameter Name="productionQuality" Value="false" Mode="Raw" />
<ext:PropertyGridParameter Name="created" Value="10/15/2006">
<Editor>
<ext:DateField runat="server" />
</Editor>
</ext:PropertyGridParameter>
<ext:PropertyGridParameter Name="tested" Value="false" Mode="Raw" />
<ext:PropertyGridParameter Name="version" Value="0.01" />
<ext:PropertyGridParameter Name="separator" />
<ext:PropertyGridParameter Name="borderWidth" Value="5" Mode="Raw">
<Editor>
<ext:SpinnerField runat="server" />
</Editor>
</ext:PropertyGridParameter>
</Source>
<View>
<ext:GridView runat="server" ForceFit="true" ScrollOffset="2" >
<GetRowClass Handler="return record.data.name == 'separator' ? 'my-class' : '';" />
</ext:GridView>
</View>
</ext:PropertyGrid>
</form>
</body>
</html>