Perspective table cell color

you have to set the style/value a “level” deeper, like so:
the row here is helsinki, the column is jakarta
image
image

for the example code it would be something like: it can be a bit cleaner but this should get you started xd

			if value.getColumnName(col) == 'container_type':
				if value.getValueAt(row, col) == 'can':
					#style row to orange 
					row_style = style_orange
				elif value.getValueAt(row, col) == 'bottle':
					#style cel to green 					
					row_object['value']['container_type'] ={'value':row_value['container_type'],'style':style_green}
1 Like