Dash_table - "row_index" style_cell_conditional bug

Love Plotly and Dash, thanks so much for your effort with this.

I have picked up what I think is a wee bug. When I backgroundColor any row_index, using style_cell_conditional, not only does the appropriate row get backgroundColoured, but so does the “filtering” row up the top of the datatable, as with a couple of other cells in the top left (see screenshot attached)

Don’t think this is meant to happen, but thought i’d bring it up for future patches. See code below.

thanks
Marcus

html.Div([
dash_table.DataTable(
id=‘table’,
columns=column_deets,
data = initial_data,
style_table={‘overflowX’: ‘scroll’},
style_cell_conditional=[
{
’if’: {‘row_index’: 3},
‘backgroundColor’: ‘#3D9970’,

                                    }   
                                ],
                                editable=True,
                                filtering=True,
                                sorting=True,
                                sorting_type="multi",
                                row_selectable="multi",
                                row_deletable=True
                              )
                    ],style = {'margin-left':15,'margin-right':15}),

Capture

ok I have solved this myself,

if I use style_data_conditional= instead of style_cell_conditional=, it works fine. But maybe the style_cell_conditional one should be fixed anyway.

thanks
Marcus