Metadata-Version: 2.4
Name: flet-datatable2
Version: 0.70.0.dev6412
Summary: Enhanced data table widgets for Flet apps.
Author-email: Flet contributors <hello@flet.dev>
License-Expression: Apache-2.0
Project-URL: Homepage, https://flet.dev
Project-URL: Documentation, https://docs.flet.dev/datatable2
Project-URL: Repository, https://github.com/flet-dev/flet/tree/main/sdk/python/packages/flet-datatable2
Project-URL: Issues, https://github.com/flet-dev/flet/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: flet==0.70.0.dev6412
Dynamic: license-file

# flet-datatable2

[![pypi](https://img.shields.io/pypi/v/flet-datatable2.svg)](https://pypi.python.org/pypi/flet-datatable2)
[![downloads](https://static.pepy.tech/badge/flet-datatable2/month)](https://pepy.tech/project/flet-datatable2)
[![license](https://img.shields.io/badge/License-Apache_2.0-green.svg)](https://github.com/flet-dev/flet/blob/main/sdk/python/packages/flet-datatable2/LICENSE)

An enhanced data table for [Flet](https://flet.dev) 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](https://pub.dev/packages/data_table_2) Flutter package.

## Documentation

You can find its documentation [here](https://docs.flet.dev/datatable2/).

## Platform Support

This package supports the following platforms:

| Platform | Windows | macOS | Linux | iOS | Android | Web |
|----------|---------|-------|-------|-----|---------|-----|
| Supported|    ✅    |   ✅   |   ✅   |  ✅  |    ✅    |  ✅  |

## Usage

### Installation

To install the `flet-datatable2` package and add it to your project dependencies:

- Using `uv`:
    ```bash
    uv add flet-datatable2
    ```

- Using `pip`:
    ```bash
    pip install flet-datatable2
    ```
    After this, you will have to manually add this package to your `requirements.txt` or `pyproject.toml`.

### Examples

For examples, see [these](https://github.com/flet-dev/flet/tree/main/examples/controls/datatable2).
