From e2e58adb34ca0cdab4c362c7fb72b6e92db198ce Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Tue, 6 Aug 2019 08:05:55 +1000 Subject: [PATCH] Make all rows selected initially --- daqviewer/tables.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/daqviewer/tables.py b/daqviewer/tables.py index fc0fa10..a0d7303 100644 --- a/daqviewer/tables.py +++ b/daqviewer/tables.py @@ -42,10 +42,8 @@ app.layout = html.Div([ sort_mode='multi', row_selectable='multi', row_deletable=False, - selected_rows=[], - page_action='native', - page_current= 0, - page_size= 10, + selected_rows=list(df.index), + style_as_list_view=True, ), html.Div(id='datatable-row-ids-container') ])