what is the property just for the text color?
color
I thought that when I saw the text properties but in practice it is not possible, just change that property for the _id
Status=row.C15
if Status=="NO ANSWER" and row['Origen']== "Externo" :
row['_id']= {'value': row['_id'], 'style': {'Color': '#FFCCCC'}}
row['Origen']= {'value': row['Origen'], 'style': {'backgroundColor': '#FFCCCC'}}
row['Destino']= {'value': row['Destino'], 'style': {'backgroundColor': '#FFCCCC'}}
row['C10']= {'value': row['C10'], 'style': {'backgroundColor': '#FFCCCC'}}
row['C14']= {'value': row['C14'], 'style': {'backgroundColor': '#FFCCCC'}}
row['C15']= {'value': Status, 'style': {'backgroundColor': '#FFCCCC'}}
row['C17']= {'value': row['C17'], 'style': {'backgroundColor': '#FFCCCC'}}
row['file']= {'value': row['file'], 'style': {'backgroundColor': '#FFCCCC'}}
OutputJson.append(row)
return OutputJson
it´s working now. is sensitive to Upercase
Perfect! That is exactly what I was looking for!
1 Like