# Dropdown lists

**URL:** <https://forum.inductiveautomation.com/t/dropdown-lists/5759>\
**Category:** Ignition\
**Created:** [January 29, 2013, 4:02pm UTC](https://forum.inductiveautomation.com/t/dropdown-lists/5759 "2013-01-29T16:02:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikehill100](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@mikehill100](https://forum.inductiveautomation.com/u/mikehill100)\
**Post date:** [January 29, 2013, 4:02pm UTC](https://forum.inductiveautomation.com/t/dropdown-lists/5759/1 "2013-01-29T16:02:25Z")

</div>

Hopefully this will be super easy.

I have a dropdown list component whose data property changes dynamically through binding.

Is there a way to make it automatically default to row 0 of the dataset? I could do it through scripting, but would rather not.

Thanks,

Mike

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [January 29, 2013, 4:17pm UTC](https://forum.inductiveautomation.com/t/dropdown-lists/5759/2 "2013-01-29T16:17:32Z")

</div>

You can bind the selected value property of the dropdown to the following expression:`try({Root Container.Dropdown.data}[0,0], -1)`

---

<div class="post-metadata">

**Author:** ![mikehill100](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@mikehill100](https://forum.inductiveautomation.com/u/mikehill100)\
**Post date:** [January 29, 2013, 7:00pm UTC](https://forum.inductiveautomation.com/t/dropdown-lists/5759/3 "2013-01-29T19:00:51Z")

</div>

Thanks.

One more question I had, is if there is a way to bind something to ‘No Binding’ in scripting.

for example

if  
(  
boolTag  
, [Client]tag  
, don’t bind to anything  
)

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [January 29, 2013, 7:14pm UTC](https://forum.inductiveautomation.com/t/dropdown-lists/5759/4 "2013-01-29T19:14:54Z")

</div>

No, in that case it would be better to set the selected value through scripting somewhere else.
