I think you just need to change filter_query
to filter
. In my case, I also set the filter (as you defined) on the style_cell_conditional
parameter (vice style_data_conditional
).
Also, based on the documentation,
To use even/odd or other styling based on
row_index
you must usestyle_data_conditional
I suspect the use of style_data_conditional
much include a reference to the row index, but I’m not certain.