I have a very simple listview bound to an items array in a very simple viewmodel. The listview also has a click binding. At first I thought that the click handler was not getting the dataitem but there is something else going on. Before each item in the listview another row is being rendered. Clicking this row gets us our dataitem. Clicking the row with the item name in it does not.
Much easier if you see it so here is the jsfiddle: http://jsfiddle.net/HRuvg/
Clicking on the actual item doesn't work but if you click on the space above each item, it fires properly. I must be missing something obvious because it doesn't get any simpler that this.
Much easier if you see it so here is the jsfiddle: http://jsfiddle.net/HRuvg/
Clicking on the actual item doesn't work but if you click on the space above each item, it fires properly. I must be missing something obvious because it doesn't get any simpler that this.