An enhanced data table for Flet apps that builds on the built-in component by adding sticky headers, fixed top rows, and fixed left columns while preserving all core features.
It is based on data_table_2 Flutter package.
You can find its documentation here.
This package supports the following platforms:
| Platform | Supported |
|---|---|
| Windows | ✅ |
| macOS | ✅ |
| Linux | ✅ |
| iOS | ✅ |
| Android | ✅ |
| Web | ✅ |
To install the flet-datatable2 package and add it to your project dependencies:
-
Using
uv:uv add flet-datatable2
-
Using
pip:pip install flet-datatable2
After this, you will have to manually add this package to your
requirements.txtorpyproject.toml. -
Using
poetry:poetry add flet-datatable2
For examples, see these.