Datatable declare a column as a button or checklist

Hi guys,

I would like to create a datatable with the last column being a html.A Element with a button.

Is there a simple way like the dropdown feature (Dropdowns Inside DataTable | Dash for Python Documentation | Plotly) to simply declare a column as a button or checkbox or anything else?
Where can I find the possibilities to use with columns (id, dropdown, editable, etc.)

import dash
import dash_table
import pandas as pd
import dash_html_components as html
from flask import Flask

df = pd.read_csv('')

server = Flask(__name__)
app = dash.Dash(server=server)

buttons = {
    index: html.Div(style={'height': 100, 'width': '100%'},
                           children=[html.Button('Fileserver', id='fileserver-button-{}'.format(index), n_clicks=0)],
                           style={'display': 'inline-block',
                                  'padding-right': '2%'})
    for value, index in df["Generation (GWh)"].iteritems()

app.layout = dash_table.DataTable(
    columns=[{"name": i, "id": i} for i in df.columns],

if __name__ == '__main__':

Thank you,

You can use markdown inside the datatable. There are multiple posts here in the community about that, here is one:

1 Like

Thank you, your solution solved my problem.

Where do I find the parameter for columns (id, name, type, presentation,…)?