Hi,
I have a dash_table.DataTable with filtering on. After introducing dcc.Interval, everytime the interval callback is triggered (every second) and I try to type filter criteria in the table, the characters get removed.
Here are the code snippets:
html.Div(id=‘display-time’, style={‘float’:‘right’}),
dcc.Interval(
id=‘interval-component’,
interval=1*1000, # in milliseconds
n_intervals=0
),
@app.callback(Output(‘display-time’, ‘children’),
[Input(‘interval-component’, ‘n_intervals’)])
def auto_update_timer(interval):
return str(dt.now())
When I comment out the callback, I can type filters into the table without a problem.
Thank you,
Robert