{ "id": "78004", "key": "TIMOB-5528", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-09-07T03:41:17.000+0000", "created": "2011-07-20T06:54:22.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mvasko", "key": "mvasko", "displayName": "Misha Vasko", "active": true, "timeZone": "Europe/Kiev" }, "updated": "2017-03-03T22:34:45.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "name of the tableViewRow object is 'TableViewRowView' instead of 'TableViewRow'. \r\nClick against tableView. You will see alert with name of the tableViewRowView object. Expected behavior: It should be 'TableViewRow' object.\r\n{code:JavaScript}\r\nTitanium.UI.setBackgroundColor('ebf9ff');\r\n\r\nvar win = Titanium.UI.createWindow({ \r\n title:'Fiber Tracker',\r\n backgroundColor:'#ebf9ff'\r\n});\r\n\r\nif (Ti.Platform.osname != 'iphone' && Ti.Platform.osname != 'iphone'){\r\n\twin.height = 480;\r\n\twin.width = 320;\r\n};\r\n\r\nvar mainView = Ti.UI.createView ({\r\n\twidth: 320,\r\n\tcenter:{x:'50%'},\r\n\tlayout: 'vertical'\r\n})\r\n\r\nvar logo = Ti.UI.createImageView({\r\n\twidth: 235,\r\n\theight: 137,\r\n\ttop:0,\r\n\tleft: 42,\r\n\timage: '/images/logo.png',\r\n\t\t\r\n});\r\n\r\nvar selectGenderLabel = Ti.UI.createLabel({\r\n\ttext: 'SELECT GENDER:',\r\n\ttop: 5,\r\n\tleft: 60,\r\n\twidth: 200,\r\n\theight: 30,\r\n\tfontFamily: 'Arial',\r\n\tfontSize: 20,\r\n\tcolor: '#8D1F28',\r\n\ttextAlign: 'center'\r\n});\r\n\r\nvar selectGenderTable = Ti.UI.createTableView({\r\n\tdata: [{title:'Male'},{title:'Female'}],\r\n\ttop: 10,\r\n\tleft: 100,\r\n\twidth: 120,\r\n//\theight: 60,\r\n//\trowHeight:28,\r\n\tcolor: '#37526b',\r\n\twidth: 200,\r\n\tfontSize: 20,\r\n\tfontFamily: 'Arial',\r\n\t\t\r\n});\r\n\r\nvar enterAgeLabel = Ti.UI.createLabel({\r\n\t\r\n});\r\n\r\n\r\nwin.add(mainView);\r\nmainView.add(logo);\r\nmainView.add(selectGenderLabel);\r\nmainView.add(selectGenderTable);\r\nwin.open();\r\n\r\n\r\nselectGenderTable.addEventListener('click',function(e){\r\n\t\talert(e.row);\r\n\t\t//alert(e.rowData);\r\n\t\t//\te.row.hasCheck = true;\r\n\t}); \r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "MobileWeb: name of the tableViewRow object is 'TableViewRowView' instead of 'TableViewRow'", "creator": { "name": "mvasko", "key": "mvasko", "displayName": "Misha Vasko", "active": true, "timeZone": "Europe/Kiev" }, "subtasks": [], "reporter": { "name": "mvasko", "key": "mvasko", "displayName": "Misha Vasko", "active": true, "timeZone": "Europe/Kiev" }, "environment": null, "comment": { "comments": [ { "id": "408997", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T22:34:45.000+0000", "updated": "2017-03-03T22:34:45.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }