Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2757] addEventListener on TableView in iOS 4 callback param behavior

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionNeeds more info
Resolution Date2012-07-26T14:42:31.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsios, ios4
ReporterBobby Wilson
AssigneeNeeraj Gupta
Created2011-04-15T03:28:46.000+0000
Updated2017-03-09T23:53:45.000+0000

Description

iOS version 4
master branch

This breaks (in iOS only, works with Android):

tableview.addEventListener('click', function(e){
  Ti.API.info(e.rowData.id);
}
This doesn't break:
tableview.addEventListener('click', function(e){
  if(e.rowData) {
    Ti.API.info(e.rowData.id);
  }
}

Comments

  1. Stephen Tramer 2012-07-26

    Requires *complete* & valid test case.

    Ticket can be reopened when this is provided.
  2. Lee Morris 2017-03-09

    Closing this ticket as the request for more information has not been provided.

JSON Source