Hello and welcome!
The Docstrings can be a bit tricky to understand, but most of the functionality mimics the Python version:
html_div(id="table1", style=(width=default_width,backgroundColor="#dbe4f0 ", border="4px solid LightSteelBlue",hidden=false),
DashTable.dash_datatable(id="table", editable=true,
columns = [(name="fruits", id="fruits"),(name="vegetables", id="vegetables")],
data = [
Dict("fruits" => "apple", "vegetables" => "tomato"),
Dict("fruits" => "orange", "vegetables" => "onion")
],
style_cell = (textAlign="center",fontSize=16)
)),
Notice how the data Dicts entries must have the same name as the header columns names.