code: def create_param_table(params=None, height=100):
      if params is None or len(params) == 0:
          data = [{"Parameter": "", "Value": ""}]
      else:
          data = [
              {"Parameter": key, "Value": str(value["default"])}
              for key, value in params.items()
          ]
  
      table = dash_table.DataTable(
          data=data,
          columns=[
              {"id": "Parameter", "name": "Parameter"},
              {"id": "Value", "name": "Value"},
          ],
          editable=True,
          style_header_conditional=[
              {"textAlign": "center", "font-family": "Salesforce Sans"}
          ],
          style_cell_conditional=[
              {"textAlign": "center", "font-family": "Salesforce Sans"}
          ],
          style_table={
              "overflowX": "scroll",
              "overflowY": "scroll",
              "height": height,
          },
          style_header=dict(
              backgroundColor=TABLE_HEADER_COLOR, color="white"
          ),
          style_data=dict(backgroundColor=TABLE_DATA_COLOR),
      )
      return table
  
file_path: merlion/merlion/dashboard/pages/utils.py
imports: import dash_bootstrap_components
  from dash import html, dash_table
  import pandas
  from merlion.dashboard.settings import *
  from merlion.dashboard.utils.plot import plot_timeseries
label_desc: Use image node_id 2 for calling a global function with example usage: create_param_table(params, height) and returns: table