Skip to content

Commit c91efb8

Browse files
committed
Deprecate dash table, add dash[ag-grid] extra requirement
1 parent 87d5e32 commit c91efb8

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

dash/development/base_component.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,15 @@
2222
eg: html.A(href=os.getenv('DASH_LOGOUT_URL'))
2323
"""
2424
)
25-
}
25+
},
26+
"dash_table": {
27+
"DataTable": textwrap.dedent(
28+
"""
29+
The dash_table.DataTable will be removed from the builtin dash components in Dash 4.0
30+
We recommend using dash-ag-grid as a replacement. Install with `pip install dash[ag-grid]`.
31+
"""
32+
)
33+
},
2634
}
2735

2836

requirements/ag-grid.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dash-ag-grid

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def read_req_file(req_type):
3737
"diskcache": read_req_file("diskcache"),
3838
"compress": read_req_file("compress"),
3939
"cloud": read_req_file("cloud"),
40+
"ag-grid": read_req_file("ag-grid")
4041
},
4142
entry_points={
4243
"console_scripts": [

0 commit comments

Comments
 (0)