โ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")
โ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.
โ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.
โ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.
โ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!
โ03-16-2022 07:26 AM
Hi @Laura Blancarteโ , That's awesome. Would you like to mark @Ravirahul Padmanabhanโ post as the best answer?
โ03-17-2022 07:53 AM
Done ๐
Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!
Sign Up Now