Datatable curved edges

Hello community,

I tried to make curved edges for my Dashtable with:

style_table={‘height’: ‘400px’, ‘overflowY’: ‘auto’, ‘borderRadius’:‘15px’}

my problem is that only 3 edges are curved and the top right not and I dont know why

Thanks in advance.

Greetings Mae

1 Like

Hi @Mae, could you please share the full code (including any potential CSS styling)? Thanks

I will do it as soon as I’m home.

I’d say the top right corner does indeed have a radius, but you can’t see it because the scrollbar does not stretch up to the header row. This happens when you set fixed_rows={'headers': True}, which makes the scrollbar appear outside of the table instead of inside, causing a gap on the right side of the header (and the gap is where the radius would be).

Not sure if there’s something you can do about this. I’ve tried it without the fixed headers but the curved scrollbar looked strange…

1 Like

I will check it .Thank you very much yanboe.