This repository was archived by the owner on Dec 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +29
-13
lines changed
Expand file tree Collapse file tree 8 files changed +29
-13
lines changed Original file line number Diff line number Diff line change 1313 - ' pyproject.toml'
1414 - ' .github/workflows/docs.yml'
1515 - ' src/flet_datatable2/**'
16- - ' examples/flet_datatable2_example/src/main.py '
16+ - ' examples/flet_datatable2_example/src/** '
1717
1818 workflow_dispatch : # Allow manual trigger from the GitHub Actions UI
1919
Original file line number Diff line number Diff line change @@ -7,15 +7,24 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77
88## [ Unreleased] - 2025-mm-dd
99
10+ ## Added
11+
12+ - Deployed online documentation: https://flet-dev.github.io/flet-datatable2/
13+ - New enums:
14+ - ` DataColumnSize `
15+
1016### Changed
1117
12- TBA
18+ - Refactored ` DataTable2 ` , ` DataColumn2 ` and ` DataRow2 ` controls to use ` @flet.control ` dataclass-style definition.
19+ - Additionally, they are now all based on their flet counterparts:
20+ - ` DataTable2 ` is now based on ` flet.DataTable `
21+ - ` DataColumn2 ` is now based on ` flet.DataColumn `
22+ - ` DataRow2 ` is now based on ` flet.DataRow `
1323
1424## [ 0.1.0] - 2025-03-16
1525
1626Initial release.
1727
1828
1929[ Unreleased ] : https://github.com/flet-dev/flet-datatable2/compare/0.1.0...HEAD
20-
2130[ 0.1.0 ] : https://github.com/flet-dev/flet-datatable2/releases/tag/0.1.0
Original file line number Diff line number Diff line change 1- ::: flet_datatable2.datatable2.DataTable2
1+ ::: flet_datatable2.datatable2.DataTable2
2+ options:
3+ filters:
4+ - "!data_row_min_height"
5+ - "!data_row_max_height"
Original file line number Diff line number Diff line change @@ -38,12 +38,13 @@ To install the `flet-datatable2` package and add it to your project dependencies
3838 pip install flet-datatable2 # (1)!
3939 ```
4040
41+ 1. After this, you will have to manually add this package to your `requirements.txt` or `pyproject.toml`.
42+
4143=== "poetry"
4244 ```bash
4345 poetry add flet-datatable2
4446 ```
4547
46- 1 . After this, you will have to manually add this package to your ` requirements.txt ` or ` pyproject.toml ` .
4748
4849## Examples
4950
Original file line number Diff line number Diff line change 8181 - DataColumn2 : datacolumn2.md
8282 - DataRow2 : datarow2.md
8383 - Types :
84- - DataColumnSize : datacolumn_size.md
84+ - DataColumnSize : types/ datacolumn_size.md
8585 - Changelog : changelog.md
8686 - License : license.md
8787
Original file line number Diff line number Diff line change @@ -38,10 +38,7 @@ docs = [
3838]
3939
4040[tool .uv .sources ]
41- flet = { git = " https://github.com/flet-dev/flet" , subdirectory = " sdk/python/packages/flet" , rev = " v1" }
42-
43- [tool .setuptools ]
44- license-files = []
41+ # flet = { git = "https://github.com/flet-dev/flet", subdirectory = "sdk/python/packages/flet", rev = "v1" }
4542
4643[build-system ]
4744requires = [" setuptools" ]
Original file line number Diff line number Diff line change 88
99__all__ = ["DataTable2" ]
1010
11+
1112@ft .control ("DataTable2" )
1213class DataTable2 (ft .DataTable ):
1314 """
@@ -102,7 +103,7 @@ class DataTable2(ft.DataTable):
102103 default_factory = lambda : ft .Duration (milliseconds = 150 )
103104 )
104105 """
105- Duration of sort arrow animation in milliseconds .
106+ Duration of sort arrow animation.
106107 """
107108
108109 visible_horizontal_scroll_bar : Optional [bool ] = None
@@ -131,3 +132,7 @@ class DataTable2(ft.DataTable):
131132 `DataTable.data_row_min_height` and `DataTable.data_row_max_height`.
132133 """
133134
135+ # present in parent but of no use in DataTable2
136+ data_row_min_height : None = field (init = False , repr = False , compare = False )
137+ data_row_max_height : None = field (init = False , repr = False , compare = False )
138+
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ environment:
1111
1212dependencies :
1313 data_table_2 : ^2.6.0
14- # flet: 0.26 .0
14+ # flet: 0.70 .0
1515 flet :
1616 git :
17+ url : https://github.com/flet-dev/flet.git
1718 path : packages/flet
1819 ref : v1
19- url : https://github.com/flet-dev/flet.git
2020
2121 flutter :
2222 sdk : flutter
You can’t perform that action at this time.
0 commit comments