Getting item id / item content from a list populated by AJAX
I'm hoping that someone may have done something similar and can point me in the right direction. I have an Ext.List object which has been populated by an .update() from an AJAX call. This part is working well, but when I added an "itemtap" listener I'm only getting IDs of -1 and I'm not sure how else I can determine which item in the list was selected (except maybe checking the classes, but I'd rather avoid this approach if at all possible).
Any tips would be greatly appreciated, thanks in advance!