Skip to content

Commit b2ce5a9

Browse files
committed
added new async js files + updated Makefile
1 parent 1299f46 commit b2ce5a9

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ html:
1111
mv 127.0.0.1:8050/_dash-dependencies 127.0.0.1:8050/_dash-dependencies.json
1212
cp assets/* 127.0.0.1:8050/assets/
1313
cp _static/async* 127.0.0.1:8050/_dash-component-suites/dash_core_components/
14+
cp _static/async-table* 127.0.0.1:8050/_dash-component-suites/dash_table/
1415
ps | grep python | awk '{print $$1}' | xargs kill -9
1516

1617
clean:

_static/async-markdown.v1_8_1m1582838719.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_static/async-table.v4_6_1m1582839172.js

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@
5555
id='table',
5656
columns=[{"name": i, "id": i} for i in df_tidy_table],
5757
data=df_tidy_table.to_dict('records'),
58+
filter_action="native",
59+
sort_action="native",
60+
row_selectable="multi",
61+
style_table={
62+
'maxHeight': '300px',
63+
'overflowY': 'scroll'
64+
},
5865
)
5966
], className="six columns")
6067
], className="row", style={'font-color':'white'}),

0 commit comments

Comments
 (0)