context.decorateRow

Available on views, Code tab> After Generate JS field, displays the view lines with different background based on a specific value of an attribute from the child entity.

Syntax

Copy
context.decorateRow(function (rowData, htmlRowElement)
 
Parameter Description
rowData The current row data.

htmlRowElement

The JQuery<tr> element.

Examples