SelectListView > item with key and value


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


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


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.