Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2081] iOS & Android: rowData attribute for TableViewRow click event is null if custom property is provided in constructor

GitHub Issuen/a
ResolutionNeeds more info
Resolution Date2013-04-02T01:18:26.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
LabelsclickEvent, rowdata, tableview, tableviewrow
ReporterMarkus Wutzler
AssigneeMauro Parra-Miranda


It seems that the click event doesn't provide the rowData attribute anymore. Everything worked fine in 2.1.3GA but since 2.1.4 the rowData attribute seems to be null. Or is there a special assignment for variables i want to retrieve via rowData?


  1. Daniel Sefton 2012-11-26

    It would help if you could provide a small test case that we can drop into a project and run. In the meantime, did you try using "row" instead of "rowData"?
  2. Markus Wutzler 2012-11-29

    The issue only occurs if the additional item is specified within a create Method:
         myCustomInfo : 'This is important info!',
    In this example you cannot ask for e.rowData.myCustomInfo but only for e.source.myCustomInfo.
       var row = Ti.UI.createTableViewRow({
       row.myCustomInfo = '...';
    In this case myCustomInfo is available as e.rowData.myCustomInfo. For now i think this is no bug, but maybe this could be added to the documentation. In case you think it's not a bug, you can close the ticket.
  3. Daniel Sefton 2012-11-29

    Looks like a bug to me. It would speed things up if you could put together a two-part test case for this, and if I can reproduce I'll move it to TiMob. Cheers.
  4. Markus Wutzler 2012-11-29

    Ok, I'll try to provide this as soon as possible.

JSON Source