Using 2 side-by-side tables to display a long list of key-value pairs?
I've a list with 20+ key-value pairs that I need to display in my app. The data is static and cannot be edited.
I'm using a table, currently it looks like this:
keyA | valueA |
keyB | valueB |
keyC | valueC |
keyD | valueD |
keyE | valueE |
... | ... |
For more than 20 key-value pairs, this takes a lot of vertical space and wastes horizontal space.
I was thinking of putting 2 tables side-by-side, or a single table where every cell displays a key-value pair (instead of a column for keys, a column for values)
keyA: valueA | keyB: valueB |
keyC: valueC | keyD: valueD |
keyE: valueE | keyF: valueF |
... | ... |
Not sure if this is right? Is the data easily readable?