An open API service indexing awesome lists of open source software.

https://github.com/flet-dev/flet-datatable2

DataTable with fixed/sticky header/top rows and left columns.
https://github.com/flet-dev/flet-datatable2

datatable flet flet-extension flutter python

Last synced: 4 months ago
JSON representation

DataTable with fixed/sticky header/top rows and left columns.

Awesome Lists containing this project

README

          

# 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/github/license/flet-dev/flet-datatable2.svg)](https://github.com/flet-dev/flet-datatable2/blob/main/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://flet-dev.github.io/flet-datatable2).

## Platform Support

This package supports the following platforms:

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

## 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`.

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

### Examples

For examples, see [these](./examples).