dash_table.DataTable Embedded Links

Hi!

I tried dbc bootstrap table to embed the link, it was working great.

import pandas as pd
import dash_bootstrap_components as dbc

title=['Hi Dash','Hello World']
link=[html.A(html.P('Link'),href="yahoo.com"),html.A(html.P('Link'),href="google.com")]

dictionary={"title":title,"link":link}
df=pd.DataFrame(dictionary)
table=dbc.Table.from_dataframe(df, striped=True, bordered=True, hover=True)

Now this table can be returned to your child element through function calling according to your rules.

6 Likes