DataTable header always visible


Looks like easy thing, but could not find it in the documentation. Is there any way to keep header of DataTable always visible at the top of the screen (similar to freeze pane option in Excel).

When I have DataTable on a page, I can only scroll whole page so when I scroll down header gets hidden somewhere above the top.

Thank you in advance for your help.


1 Like

Hi @Hikari

See the example “Vertical Scroll With Fixed Headings” on this page of the docs: DataTable Height | Dash for Python Documentation | Plotly

Perfect! Many thanks for quick help.

    fixed_rows={'headers': True},