Dash DataTable (`dash.dash_table.DataTable`) is an interactive table component designed for viewing, editing, and exploring large datasets within Dash web applications. It is rendered with standard HTML <table> markup, making it accessible, responsive, and highly customizable. The `dash-table` PyPI package is currently at version 5.0.0, but the component is officially deprecated and slated for removal from the core Dash API in Dash 5.0 of the main `dash` package. Users are advised to migrate to `dash-ag-grid` for future development.
pip install dash-tableVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to create a basic Dash application with a DataTable. It reads data from a CSV using pandas and displays it in an interactive table.
Migrate your table implementations to `dash-ag-grid`. Install with `pip install dash-ag-grid` and refer to its documentation.
Consult the `dash-table` CHANGELOG or documentation for v4.0.0 migration guides to update property names and usage.
Check for known fixes or workarounds in the Plotly community forums or GitHub issues. If possible, upgrade to the latest stable versions of Dash and `dash-table` (or migrate to `dash-ag-grid`). Consider simplifying tooltip logic if the bug persists.
Always ensure the return value of a multi-output callback matches the expected tuple or list of values for the specified outputs.