Create a new IndexedTable.
the values to use, when the index is selected the corresponding value is used