View Full Version : Possible Bug? DataView returns -1 index in click event

8 Jul 2010, 12:10 PM
The DataView is populating just fine from the store but when I click on a node I can see in Firebug that the index passed to the click handler is -1. What could be going wrong here? This code used to work just fine prior to updating to Ext Designer 1.02

onEpisodeMonthViewClick: function(view, index, node, e)
var store = Ext.StoreMgr.get('EpisodeStore');
// this should work but does not
store.proxy.conn.url = view.getStore().getAt(index).get('Text');
// this used to work prior to updating to Ext Designer 1.02
//store.proxy.conn.url = this.EpisodeMonthView.getRecord(node).get('Text');

8 Jul 2010, 1:11 PM
Found the problem - the itemSelector setting was lost when the project was converted from Ext Designer 1.01c to 1.02. One of many many problems during the conversion.