Horizontal Scroll

Horizontal Scroll#

Since ITables 2.1.2, the .dt-layout-table div has a default overflow equal to auto, so in most cases you don’t need to use the scrollX option of datatables.

import itables

itables.init_notebook_mode()

df = itables.sample_dfs.get_countries(html=False)
itables.show(df, scrollX=True)
Loading ITables v2.4.0rc1 from the init_notebook_mode cell... (need help?)