# Self-defined dropdown selection

**URL:** <https://forum.inductiveautomation.com/t/self-defined-dropdown-selection/9534>\
**Category:** Ignition\
**Created:** [January 13, 2015, 1:17am UTC](https://forum.inductiveautomation.com/t/self-defined-dropdown-selection/9534 "2015-01-13T01:17:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Don\_t\_shoot](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@Don\_t\_shoot](https://forum.inductiveautomation.com/u/Don_t_shoot)\
**Post date:** [January 13, 2015, 1:17am UTC](https://forum.inductiveautomation.com/t/self-defined-dropdown-selection/9534/1 "2015-01-13T01:17:37Z")

</div>

if I want to put a component to my report table ,which can self-defined some dropdown selections ,which component can I use ? And how to use it make these seil defined selections?

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [January 13, 2015, 1:52am UTC](https://forum.inductiveautomation.com/t/self-defined-dropdown-selection/9534/2 "2015-01-13T01:52:06Z")

</div>

You can self define whats in the dropdown using the dataset viewer.

If you want to mix self defined with a query you could make a query that looks something like this:

```auto
select 'test' as displayname, 1001 as id
union all
select 'test2' as displayname, 1002 as id
union all
SELECT displayname, id 
FROM devices

```
