{ "id": "105492", "key": "AC-2081", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2013-04-02T01:18:26.000+0000", "created": "2012-11-26T10:56:20.000+0000", "labels": [ "clickEvent", "rowdata", "tableview", "tableviewrow" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:03.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "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.\r\n\r\nOr is there a special assignment for variables i want to retrieve via rowData?", "attachment": [], "flagged": false, "summary": "iOS & Android: rowData attribute for TableViewRow click event is null if custom property is provided in constructor", "creator": { "name": "mrvvoo", "key": "mrvvoo", "displayName": "Markus Wutzler", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "mrvvoo", "key": "mrvvoo", "displayName": "Markus Wutzler", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Ti SDK 2.1.4.GA\r\niOS 6 & Android 2.2", "comment": { "comments": [ { "id": "228549", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "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\"?", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-26T23:23:12.000+0000", "updated": "2012-11-26T23:23:12.000+0000" }, { "id": "229111", "author": { "name": "mrvvoo", "key": "mrvvoo", "displayName": "Markus Wutzler", "active": true, "timeZone": "Europe/Berlin" }, "body": "The issue only occurs if the additional item is specified within a create Method:\n{code}\nTi.UI.createTableViewRow({\n ...\n myCustomInfo : 'This is important info!',\n ...\n});\n{code}\nIn this example you cannot ask for e.rowData.myCustomInfo but only for e.source.myCustomInfo.\n{code}\nvar row = Ti.UI.createTableViewRow({\n ...\n});\nrow.myCustomInfo = '...';\n{code}\nIn 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.\nIn case you think it's not a bug, you can close the ticket.", "updateAuthor": { "name": "mrvvoo", "key": "mrvvoo", "displayName": "Markus Wutzler", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-11-29T20:26:17.000+0000", "updated": "2012-11-29T20:26:17.000+0000" }, { "id": "229150", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "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.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-29T23:01:24.000+0000", "updated": "2012-11-29T23:01:24.000+0000" }, { "id": "229152", "author": { "name": "mrvvoo", "key": "mrvvoo", "displayName": "Markus Wutzler", "active": true, "timeZone": "Europe/Berlin" }, "body": "Ok, I'll try to provide this as soon as possible.", "updateAuthor": { "name": "mrvvoo", "key": "mrvvoo", "displayName": "Markus Wutzler", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-11-29T23:09:21.000+0000", "updated": "2012-11-29T23:09:21.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }