I’ve encountered an issue when trying to use style_data_conditional to disable (and grey out), one column if a second column has a boolean value set to “True”. Unfortunately I can’t find any way to query the boolean - e.g. just using it as a plain string, treating it as the number 1, writing down True. I’ve attached an example below (querying for False instead of True):
however we did eventually find that using a query with something like >0.5 worked, as shown below. This is despite the query ==1 not working.
So although the code here “works” it is an accidental work around and I haven’t found the root cause. Does anyone know the correct way to treat booleans in this case?