Hi there,
I am trying to set a conditional logic in DataTable that the cell is NOT blank in the conditional formatting logic.
The logic operator is blank is working perfect, however, when I was trying to use != blank or ne blank for the string/text type, none of these is working. Can anybody please help how to set an opposite way of the logic “NOT BLANK” meaning there are at least 1 letter in there?
style_data_conditional=( [{
'if': {
'filter_query': '({num-col1} > {num-col2}) and ({str_col} != blank)',
'column_id': 'str_col'
},
'backgroundColor': 'tomato',
'color': 'white'
}
] )
1 post - 1 participant









