Update app.py
Browse files
app.py
CHANGED
|
@@ -67,7 +67,7 @@ def update_dash_table(n_dlt, n_add, data):
|
|
| 67 |
|
| 68 |
page = vm.Page(
|
| 69 |
title="Example of adding rows to AG Grid and updating a chart based on the edited table",
|
| 70 |
-
layout=vm.
|
| 71 |
[0,0,0,0,1,1,1,1],
|
| 72 |
[0,0,0,0,1,1,1,1],
|
| 73 |
[0,0,0,0,1,1,1,1],
|
|
@@ -85,7 +85,7 @@ page = vm.Page(
|
|
| 85 |
dashGridOptions={"rowSelection": "multiple", "suppressRowClickSelection": True},
|
| 86 |
),
|
| 87 |
),
|
| 88 |
-
vm.Graph(id = "output_chart",figure = px.line(df,x="date", y="value")
|
| 89 |
vm.Button(
|
| 90 |
id="delete-row-btn",
|
| 91 |
text="Delete row",
|
|
|
|
| 67 |
|
| 68 |
page = vm.Page(
|
| 69 |
title="Example of adding rows to AG Grid and updating a chart based on the edited table",
|
| 70 |
+
layout=vm.Grid(grid = [
|
| 71 |
[0,0,0,0,1,1,1,1],
|
| 72 |
[0,0,0,0,1,1,1,1],
|
| 73 |
[0,0,0,0,1,1,1,1],
|
|
|
|
| 85 |
dashGridOptions={"rowSelection": "multiple", "suppressRowClickSelection": True},
|
| 86 |
),
|
| 87 |
),
|
| 88 |
+
vm.Graph(id = "output_chart",figure = px.line(df,x="date", y="value")),
|
| 89 |
vm.Button(
|
| 90 |
id="delete-row-btn",
|
| 91 |
text="Delete row",
|