{ "id": "130502", "key": "TIMOB-16972", "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": [], "resolution": { "id": "6", "description": "", "name": "Hold" }, "resolutiondate": "2015-04-14T17:12:34.000+0000", "created": "2014-05-15T09:09:00.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-14T03:36:04.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Tableview events like longclick, longpress not working working on blackberry platform.\r\n\r\nSteps to reproduce:\r\n1. Copy paste the code in classic Project in app.js file and run the app.\r\n2. Click on table row.\r\n\r\nActual Result:\r\nalert showing the title and rowindex is not visible\r\n\r\nExpected Result:\r\nalert showing the title and rowindex should be visible\r\n\r\n{Code}\r\nvar win=Ti.UI.createWindow({\r\n\tbackgroundColor:'white'\r\n});\r\n\r\nvar tableData = [];\r\n\r\n// Create a TableView.\r\nvar tblView = Ti.UI.createTableView({top:0,height:Ti.UI.SIZE});\r\n\r\n// Populate the TableView data.\r\nfor(var i=0;i<4;i++){\r\n\tvar row=Ti.UI.createTableViewRow({\r\n\t\ttitle: 'Row'+i,\r\n\t\theight:50,\r\n\t});\r\n\ttableData.push(row);\r\n};\r\n\r\n//event listener for table \r\ntblView.addEventListener('longpress',function(e) {\r\n\t\talert('title: \\'' + e.row.title + '\\', index: ' + e.index);\r\n});\r\n\r\n//Set the data in table view\r\ntblView.setData(tableData);\r\n\r\n// Add to the parent view.\r\nwin.add(tblView);\r\nwin.open();\r\n{Code}", "attachment": [], "flagged": false, "summary": "Blackberry : Tableview events like longclick, longpress are not working ", "creator": { "name": "svarshney", "key": "svarshney", "displayName": "Sapan Varshney", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "svarshney", "key": "svarshney", "displayName": "Sapan Varshney", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio Build: 3.2.3.201404181520\r\nSDK Build : 3.2.3 GA / 3.3.0.v20140515\r\nacs : 1.0.14\r\nalloy : 1.3.1\r\njitsu : 0.13.0\r\nnpm : 1.3.2\r\ntitanium : 3.2.3\r\ntitanium-code-processor : 1.1.0\r\nDevice: Blackberry Z10\r\n", "comment": { "comments": [ { "id": "349540", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Placing these items on hold for the moment based on community interest.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-14T17:12:34.000+0000", "updated": "2015-04-14T17:12:34.000+0000" }, { "id": "411815", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as BlackBerry is no longer supported by us.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-14T03:36:04.000+0000", "updated": "2017-03-14T03:36:04.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }