- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2022 04:14 AM
I'd like to have a couple of widgets, one for the start and another for end date. I want them to appear in that order but when I run the code below, end date shows up before the start date. How can order in the way I I desired?
dbutils.widgets.text("start_date", "yyyy-mm-dd", "start_date")
dbutils.widgets.text("end_date", "yyyy-mm-dd", "end_date")
- Labels:
-
End Date
-
Specific Order
-
Widgets
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2022 05:30 AM
@Laura Blancarte @Werner Stinckens You can change the order of widgets displayed in the notebook by going into widget edit mode and dragging the widget to the expected order.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2022 04:31 AM
I think widgets are ordered by their label.
So if you would change your label of end_date to zend_date it would appear last.
But that is not very interesting ofc.
I tried if this works with the widget name but that does not do anything.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2022 05:30 AM
@Laura Blancarte @Werner Stinckens You can change the order of widgets displayed in the notebook by going into widget edit mode and dragging the widget to the expected order.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2022 06:25 AM
@Ravirahul Padmanabhan and @Werner Stinckens , for me going into edit mode as suggested by Ravi worked like a charm! Thank you both!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2022 07:26 AM
Hi @Laura Blancarte , That's awesome. Would you like to mark @Ravirahul Padmanabhan post as the best answer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2022 07:53 AM
Done 🙂

