Suppose the following table with 1000 rows:
app.layout = html.Div([
dash_table.DataTable(
columns=[{'id': 'col1', 'name': 'col1'}, {'id': 'col2', 'name': 'col2'}],
data=[
dict({'col1': i, 'col2': i})
for i in range(0, 1000)
],
style_table={
'height': 500,
'overflowY': 'scroll',
'width': 400
}
)
]
)
if __name__ == '__main__':
app.run_server(debug=True)
Because the table has so many rows/entries it automatically introduces paging with a next and previous button like this:
Is there a way to just make a very very long scrollable data table without paging?
If not: Can you somehow costumize those buttons with like ‘style’ argument?