# Display two columns in a dropdown list

**URL:** <https://forum.inductiveautomation.com/t/display-two-columns-in-a-dropdown-list/757>\
**Category:** Archived Topics\
**Created:** [August 5, 2008, 3:09pm UTC](https://forum.inductiveautomation.com/t/display-two-columns-in-a-dropdown-list/757 "2008-08-05T15:09:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ron](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@Ron](https://forum.inductiveautomation.com/u/Ron)\
**Post date:** [August 5, 2008, 3:09pm UTC](https://forum.inductiveautomation.com/t/display-two-columns-in-a-dropdown-list/757/1 "2008-08-05T15:09:41Z")

</div>

Is there a way to display two columns from a dataset in a dropdown list? My dataset has a three columns. A key value, part number and part name. I would like the display both the part number and name in the dropdown list.

I could concatenate these before bringing them in, but was wondering if it is possible to just do that in the component itself?

---

<div class="post-metadata">

**Author:** ![Robert.McKenzie](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.mckenzie/32/4134_2.png) [@Robert.McKenzie](https://forum.inductiveautomation.com/u/Robert.McKenzie)\
**Post date:** [August 5, 2008, 3:58pm UTC](https://forum.inductiveautomation.com/t/display-two-columns-in-a-dropdown-list/757/2 "2008-08-05T15:58:34Z")

</div>

Ron,

There is currently no way to get multiple columns to display in the drop down component. Your best bet is to concatenating them in order to see both columns.

---

<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:** [August 5, 2008, 4:28pm UTC](https://forum.inductiveautomation.com/t/display-two-columns-in-a-dropdown-list/757/3 "2008-08-05T16:28:35Z")

</div>

It just so happens that we are working on this component. It will be available in the next release in a month or so. In the meantime, just concatenate strings together.

---

<div class="post-metadata">

**Author:** ![Ron](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@Ron](https://forum.inductiveautomation.com/u/Ron)\
**Post date:** [August 5, 2008, 6:09pm UTC](https://forum.inductiveautomation.com/t/display-two-columns-in-a-dropdown-list/757/4 "2008-08-05T18:09:05Z")

</div>

Great!! Thanks. Support for this product line is just amazing…
