Results 1 to 1 of 1
  1.    #1  
    Hello everyone,

    I have a question about FilterList. In my application I have a FilterList with a listTap event:

    this.controller.listen('filterlist', Mojo.Event.listTap, this.listClickHandler.bind(this));

    Below is the listClickHandler function:

    IndexAssistant.prototype.listClickHandler = function(event){

    var sName = myFilteredData[event.index].Name;
    Mojo.Controller.stageController.pushScene('test', sName);
    }


    everything works fine, but only if the list is not scrolled.
    After I scroll the list, 'myFilteredData[event.index].Name' gives me 'undefined' value.
    However, if I request just 'event.index' by itself it gives me the correct index value. The problem is when I request it this way - 'myFilteredData[event.index].Name'. I can only click on the items at the top of the list, scrolling down and then clicking on the items results in 'undefined' errors. Is this a bug or am I doing something wrong?
    Last edited by ninkat09; 11/05/2009 at 10:04 AM.

Posting Permissions