I have an app that has a data table that starts out blank but has columns. An app callback will fill the table after a user specifies a parameter. I want to enable sorting as well, however, I’m running into issues:
- TypeError: Unexpected keyword argument
Is this because the Data Table is blank to begin with?
Bumping this for visibility
from dash_table import DataTable
app = dash.Dash(__name__)
app.layout = DataTable(
} for x in ['a', 'b', 'c', 'd', 'e', 'f']],
if __name__ == '__main__':
I get no error. Please confirm the
dash-table versions you are using.
sort_action was added in
4.0.0. If using a compatible version, can you provide an app example that displays the error?