SelectListView > item with key and value


#1

Is posible in a SelectListView from “atom-space-pen-views” set a item with key and value?


#2

What do you exactly mean? There is viewForItem method where you define view code where you can put whatever you want.


#3

im using a ajax to load the items from a web service that return an json result, but each item com with an id and a name. I need that when i click in a item get the id.

Edit: Oh thanks i make the modifications in the viewForItem and works like i want thanks for the help.