html.Div(id='btn_plot_area_top_cont_'+setting_id, children=[
dcc.Loading(id=f'btn_plot_loading_top_'+setting_id, type='circle', children=[
html.Div(id='btn_plot_area_top_'+setting_id, children=[
html.Div(children='データを選択してください',
className="raised2",
id='btn_plot_'+setting_id,
style=button_style)
])
]),
], style={'display':'inline-block'})
app.callback(
[Output('select_data_{0}'.format(_test_id), 'children'),
Output('btn_plot_area_top_{0}'.format(_test_id), 'children'),
Output('btn_plot_area_{0}'.format(_test_id), 'children'),
Output('input-edit-top-No-{0}'.format(_test_id), 'value'),
Output('input-edit-top-driver-{0}'.format(_test_id), 'value'),
Output('input-edit-top-comment-{0}'.format(_test_id), 'value'),
Output('input-edit-No-{0}'.format(_test_id), 'value'),
Output('input-edit-driver-{0}'.format(_test_id), 'value'),
Output('input-edit-comment-{0}'.format(_test_id), 'value'),
Output('datum_real_or_sim_{0}'.format(_test_id), 'value')],
[Input('real-file-table-{0}'.format(_test_id), 'selected_row_ids'),
Input('sim-file-table-{0}'.format(_test_id), 'selected_row_ids'),
Input('real-file-table-{0}'.format(_test_id), 'selected_rows'),
Input('sim-file-table-{0}'.format(_test_id), 'selected_rows'),
# タブ変更時にも即表示させたいため、State→Inputへ変更
Input('hidden_real_or_sim', 'value')],
[State('select_data_{0}'.format(_test_id), 'children'),
State('datum_real_or_sim_{0}'.format(_test_id), 'value')])(
generate_select_file(_all_analyze_data[_test_id])
)
why the dcc.Loading not working?