Skip to content

Commit

Permalink
Adding controls and export data button to page_2 and page_3
Browse files Browse the repository at this point in the history
  • Loading branch information
petar-qb committed Nov 20, 2023
1 parent b887569 commit 72a4957
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion vizro-core/examples/default/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@
],
),
],
controls=[
vm.Filter(column="continent"),
]
)
page_3 = vm.Page(
title="Third page",
Expand All @@ -249,8 +252,17 @@
],
)
]
)
),
vm.Button(
text="Export data",
actions=[
vm.Action(function=export_data()),
],
),
],
controls=[
vm.Filter(column="continent"),
]
)

dashboard = vm.Dashboard(pages=[page, page_2, page_3])
Expand Down

0 comments on commit 72a4957

Please sign in to comment.