Can I use bootstrap responsive display utility classes?

Ok got it working! First I had to use d-none d-lg-table-cell as the classes, not d-lg-block.

Second I have updated a branch of dash dataframe table to also format html.Th tags with the cell_style_dict information not just the td tags.

I need to clean up the entire class (as I have competing branches that I need to rectify) but passing in

        cell_style_dict={
            'score': lambda x: {
                'className': "d-none d-lg-table-cell",
            },
            'date': lambda x: {
                'className': "d-none d-lg-table-cell"
            },
            'start_ts': lambda x: {
                'className': "d-none d-lg-table-cell"
            }
        },

is hiding the cells of those names dynamically now.

1 Like