Want to get value of Table fetched from my sql

Hi All
As in this example


http://demo.vaadin.com/sampler/#TableMultipleSelection

Instead of taking static data , Am fetching data from MySql but table.getValue(); is not giving the exact value in table its just giving index like [1]
. Actually i want exact value in table

If i want to fetch value of country not code how to do it

Thanks a lot in advance

The value you get back is the index of the selected item. You need to get the item (item = table.getItem(i)), and get the property you want from inside the item (item.getItemProperty(columnName); )

you can try this :

myContainer.getEntity(myTable.getValue().hashCode()).getMyColumn()