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
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); )