flet-datatable2 1.1.2__tar.gz → 1.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. {flet_datatable2-1.1.2/src/flet_datatable2.egg-info → flet_datatable2-1.1.3}/PKG-INFO +3 -3
  2. {flet_datatable2-1.1.2 → flet_datatable2-1.1.3}/README.md +1 -1
  3. {flet_datatable2-1.1.2 → flet_datatable2-1.1.3}/pyproject.toml +2 -2
  4. {flet_datatable2-1.1.2 → flet_datatable2-1.1.3}/src/flet_datatable2/datatable2.py +7 -0
  5. {flet_datatable2-1.1.2 → flet_datatable2-1.1.3/src/flet_datatable2.egg-info}/PKG-INFO +3 -3
  6. {flet_datatable2-1.1.2 → flet_datatable2-1.1.3}/src/flet_datatable2.egg-info/SOURCES.txt +3 -0
  7. flet_datatable2-1.1.3/src/flet_datatable2.egg-info/requires.txt +1 -0
  8. flet_datatable2-1.1.3/src/flutter/flet_datatable2/lib/src/data_table_2/LICENSE +29 -0
  9. flet_datatable2-1.1.3/src/flutter/flet_datatable2/lib/src/data_table_2/data_table_2.dart +2120 -0
  10. flet_datatable2-1.1.3/src/flutter/flet_datatable2/lib/src/data_table_2/data_table_2_resizable.dart +308 -0
  11. {flet_datatable2-1.1.2 → flet_datatable2-1.1.3}/src/flutter/flet_datatable2/lib/src/datatable2.dart +3 -1
  12. {flet_datatable2-1.1.2 → flet_datatable2-1.1.3}/src/flutter/flet_datatable2/lib/src/utils/datatable.dart +1 -1
  13. {flet_datatable2-1.1.2 → flet_datatable2-1.1.3}/src/flutter/flet_datatable2/pubspec.yaml +2 -3
  14. flet_datatable2-1.1.2/src/flet_datatable2.egg-info/requires.txt +0 -1
  15. {flet_datatable2-1.1.2 → flet_datatable2-1.1.3}/LICENSE +0 -0
  16. {flet_datatable2-1.1.2 → flet_datatable2-1.1.3}/setup.cfg +0 -0
  17. {flet_datatable2-1.1.2 → flet_datatable2-1.1.3}/src/flet_datatable2/__init__.py +0 -0
  18. {flet_datatable2-1.1.2 → flet_datatable2-1.1.3}/src/flet_datatable2/datacolumn2.py +0 -0
  19. {flet_datatable2-1.1.2 → flet_datatable2-1.1.3}/src/flet_datatable2/datarow2.py +0 -0
  20. {flet_datatable2-1.1.2 → flet_datatable2-1.1.3}/src/flet_datatable2.egg-info/dependency_links.txt +0 -0
  21. {flet_datatable2-1.1.2 → flet_datatable2-1.1.3}/src/flet_datatable2.egg-info/top_level.txt +0 -0
  22. {flet_datatable2-1.1.2 → flet_datatable2-1.1.3}/src/flutter/flet_datatable2/lib/flet_datatable2.dart +0 -0
  23. {flet_datatable2-1.1.2 → flet_datatable2-1.1.3}/src/flutter/flet_datatable2/lib/src/extension.dart +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flet-datatable2
3
- Version: 1.1.2
3
+ Version: 1.1.3
4
4
  Summary: Enhanced data table widgets for Flet apps.
5
5
  Author-email: Flet contributors <hello@flet.dev>
6
6
  License-Expression: Apache-2.0
@@ -11,7 +11,7 @@ Project-URL: Issues, https://github.com/flet-dev/flet/issues
11
11
  Requires-Python: >=3.10
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: flet==1.1.2
14
+ Requires-Dist: flet==1.1.3
15
15
  Dynamic: license-file
16
16
 
17
17
  # flet-datatable2
@@ -25,7 +25,7 @@ Dynamic: license-file
25
25
  An enhanced data table for [Flet](https://flet.dev) apps that builds on the built-in component by adding sticky headers,
26
26
  fixed top rows, and fixed left columns while preserving all core features.
27
27
 
28
- > **[Try flet-datatable2 in Flet Studio](https://studio.flet.dev/gallery/layout/datatable2/example/extensions/datatable2/sortable_and_selectable)**
28
+ > **[Try flet-datatable2 in Flet Studio](https://studio.flet.dev/gallery/layout/datatable2/example/extensions/datatable2/sortable_and_selectable?utm_source=pypi&utm_medium=readme&utm_campaign=flet-datatable2)**
29
29
  >
30
30
  > Create, run, and share Python apps in your browser. Start from an example, write your own code, or get help from the AI agent. No installation required.
31
31
 
@@ -9,7 +9,7 @@
9
9
  An enhanced data table for [Flet](https://flet.dev) apps that builds on the built-in component by adding sticky headers,
10
10
  fixed top rows, and fixed left columns while preserving all core features.
11
11
 
12
- > **[Try flet-datatable2 in Flet Studio](https://studio.flet.dev/gallery/layout/datatable2/example/extensions/datatable2/sortable_and_selectable)**
12
+ > **[Try flet-datatable2 in Flet Studio](https://studio.flet.dev/gallery/layout/datatable2/example/extensions/datatable2/sortable_and_selectable?utm_source=pypi&utm_medium=readme&utm_campaign=flet-datatable2)**
13
13
  >
14
14
  > Create, run, and share Python apps in your browser. Start from an example, write your own code, or get help from the AI agent. No installation required.
15
15
 
@@ -1,13 +1,13 @@
1
1
  [project]
2
2
  name = "flet-datatable2"
3
- version = "1.1.2"
3
+ version = "1.1.3"
4
4
  description = "Enhanced data table widgets for Flet apps."
5
5
  readme = "README.md"
6
6
  authors = [{ name = "Flet contributors", email = "hello@flet.dev" }]
7
7
  license = "Apache-2.0"
8
8
  requires-python = ">=3.10"
9
9
  dependencies = [
10
- "flet==1.1.2",
10
+ "flet==1.1.3",
11
11
  ]
12
12
 
13
13
  [project.urls]
@@ -21,6 +21,13 @@ class DataTable2(ft.DataTable):
21
21
  and :attr:`flet.DataTable.data_row_max_height`
22
22
  properties present in the parent :class:`~flet.DataTable`.
23
23
  Use :attr:`data_row_height` instead.
24
+
25
+ Note:
26
+ A table with 100 or more rows builds only the rows near the visible part
27
+ of the table, so it loads and scrolls quickly with thousands of rows. This
28
+ needs the heading row fixed (:attr:`fixed_top_rows` of 1 or more, the
29
+ default). Set :attr:`~flet.DataTable.build_rows_on_demand` to `False` to
30
+ build every row, so that controls in rows out of view have a widget too.
24
31
  """
25
32
 
26
33
  columns: list[Union[DataColumn2, ft.DataColumn]]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flet-datatable2
3
- Version: 1.1.2
3
+ Version: 1.1.3
4
4
  Summary: Enhanced data table widgets for Flet apps.
5
5
  Author-email: Flet contributors <hello@flet.dev>
6
6
  License-Expression: Apache-2.0
@@ -11,7 +11,7 @@ Project-URL: Issues, https://github.com/flet-dev/flet/issues
11
11
  Requires-Python: >=3.10
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: flet==1.1.2
14
+ Requires-Dist: flet==1.1.3
15
15
  Dynamic: license-file
16
16
 
17
17
  # flet-datatable2
@@ -25,7 +25,7 @@ Dynamic: license-file
25
25
  An enhanced data table for [Flet](https://flet.dev) apps that builds on the built-in component by adding sticky headers,
26
26
  fixed top rows, and fixed left columns while preserving all core features.
27
27
 
28
- > **[Try flet-datatable2 in Flet Studio](https://studio.flet.dev/gallery/layout/datatable2/example/extensions/datatable2/sortable_and_selectable)**
28
+ > **[Try flet-datatable2 in Flet Studio](https://studio.flet.dev/gallery/layout/datatable2/example/extensions/datatable2/sortable_and_selectable?utm_source=pypi&utm_medium=readme&utm_campaign=flet-datatable2)**
29
29
  >
30
30
  > Create, run, and share Python apps in your browser. Start from an example, write your own code, or get help from the AI agent. No installation required.
31
31
 
@@ -14,4 +14,7 @@ src/flutter/flet_datatable2/pubspec.yaml
14
14
  src/flutter/flet_datatable2/lib/flet_datatable2.dart
15
15
  src/flutter/flet_datatable2/lib/src/datatable2.dart
16
16
  src/flutter/flet_datatable2/lib/src/extension.dart
17
+ src/flutter/flet_datatable2/lib/src/data_table_2/LICENSE
18
+ src/flutter/flet_datatable2/lib/src/data_table_2/data_table_2.dart
19
+ src/flutter/flet_datatable2/lib/src/data_table_2/data_table_2_resizable.dart
17
20
  src/flutter/flet_datatable2/lib/src/utils/datatable.dart
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2021, Maxim Saplin
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.