code: def get_app():
      app = dash.Dash(__name__)
  
      columns = [
          dict(id="a", name="a"),
          dict(id="b", name="b"),
          dict(id="c", name="c", presentation="dropdown"),
      ]
  
      app.layout = DataTable(
          id="table",
          columns=columns,
          dropdown=dict(
              c=dict(
                  options=[
                      dict(label="Value-0", value=0),
                      dict(label="Value-1", value=1),
                      dict(label="Value-2", value=2),
                      dict(label="Value-3", value=3),
                  ]
              )
          ),
          data=[dict(a=i, b=i, c=i % 4) for i in range(100)],
          editable=True,
      )
  
      return app
  
imports: import dash
  from dash.dash_table import DataTable
label_desc: Use image node_id 1 for calling a global function with example usage: get_app() and returns: app