the following code will help you:
The 1C thick client uses a different event model. In order for you to implement your task, you need to use the OnRowOutput event - take a look at the first screenshot.
The code will be something like this:
Procedure TabularSection1OnRowOutput(Control, RowAppearance, RowData)
colorRed = New Color(255,0,0); // red
colorBlue = New Color(0,0,255); // blue
If RowData.Product.Code = "000000001" Then
RowAppearance.BackColor = colorRed;
If RowData.Product.Code = "000000002" Then
RowAppearance.TextColor = colorBlue;
I think how the code works doesn't need to be explained. As you can see, you can change not only the background color, but also the font color and other parameters (screenshot 2).
And you can see the result in screenshot 3.
However, keep in mind that this method is not very efficient, as it is called every time the document's form changes. With a large number of rows, this can greatly slow down the program.