Created
April 24, 2018 20:06
-
-
Save dcbark01/69326709cb3669bc12128fc20dde417b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create our app layout | |
app = dash.Dash(__name__) | |
server = app.server | |
app.layout = html.Div([ | |
html.H2('My Dash App'), | |
dt.DataTable( | |
id='my-datatable', | |
rows=df_ag.to_dict('records'), | |
editable=False, | |
row_selectable=True, | |
filterable=True, | |
sortable=True, | |
selected_row_indices=[] | |
), | |
html.Div(id='selected-indexes'), | |
dcc.Graph( | |
id='datatable-subplots' | |
) | |
], style={'width': '60%'}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment