self - A reference to the component that is invoking this function.
value - The value in the dataset at this cell.
textValue - The text the table expects to display at this cell (may be overridden by including 'text' attribute in returned dictionary).
selected - A boolean indicating whether this cell is currently selected.
rowIndex - The index of the row in the underlying dataset.
colIndex - The index of the column in the underlying dataset.
colName - The name of the column in the underlying dataset.
rowView - The index of the row, as it appears in the table view (affected by sorting).
colView - The index of the column, as it appears in the table view (affected by column re-arranging and hiding).
Client
# This example will use the default row configuration settings defined in the initialize extension function:
ds = self.getData()
reason = ds.getValueAt(rowIndex, 'Reason')
if reason == "Unplanned Downtime":
return {'background' : '#FF0000', 'foreground' : '#FFFFFF'}
else:
return self.getDefaultRowConfiguration(rowIndex)