Hello everyone !
I need your help !
I have a dash app with a page with a datatable about persons and some of their features. I would like to select a particular person from that datatable (done with the selected_rows option) and open a new window to display a full datatable about that particular person.
So I have prepared a page_layout with the customised datatable of that selected person (with callbacks) but I don’t know how to fill the new window with that content.
The goal is to open some pages about different people in new windows while still having the main app page open where I can access the list of all the persons.
Could you help me ? I don’t know how to fill the new pages’ content and which component (dcc.Link, html.A,…) is the best for my problem…
I would like to open the new window clicking on a button, it would be something like this :
dcc.Link(children=html.Button(children='Display the complete file of the selected person'),
id='button_to_display_file',
href = "{}".format(person_id),
target="_blank",
style={'grid-row':'2 / 3', 'grid-column':'6 / 7'})
Have all tried many things but nothing worked as I am always directed to my main page…
Thank you very much in advance !!