Skip to content

Instantly share code, notes, and snippets.

@dcbark01
Created April 24, 2018 20:06
Show Gist options
  • Save dcbark01/69326709cb3669bc12128fc20dde417b to your computer and use it in GitHub Desktop.
Save dcbark01/69326709cb3669bc12128fc20dde417b to your computer and use it in GitHub Desktop.
# 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