Table according to DatePickerRange

Hi! I have a Dash application in which I want to generate a table according to the dates selected in the DatePickerRange. The data frame is uploaded by the user via the upload component. The table should be displayed according to the End Date selected. That is, if the End Date matches the date in the column (say, Issued Date=1/1/19), then it should display the data of that date only.

Does anybody know how to do this? Thank you!

just make a callback that gets fired every time the datePickerRange changes.
make and html.Div and refresh the children component from the callback this allows you to generate a new table every time according to the dates in the picker.

@app.callback(
Output(‘div1’, ‘children’),
[Input(‘picker’, ‘value’)]
)
def display_table(value):
#STUFF TO CREATE HTML TABLE
return ([table])

1 Like

Hi! Thank you for your response.

Do you have any idea on how could I Match the End Date with date from my data frame? Thank you