{ "id": "109008", "key": "AC-2020", "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-02-11T22:46:43.000+0000", "created": "2013-02-01T11:01:18.000+0000", "labels": [ "scroll", "tableView", "tableViewRow" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:40:58.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": "ok, after a full day of debugging, as usual when working with titanium, i found a bug with scroll table view. the below function creates my row for a scroll table view. now if you put the titleLbl and arrowImage directly in the row (not in the contView), the table kinect scroll doesnt work. i.e when u swipe, the table doesn't keep on scrolling. BUT if you put the titleLbl and arrowImage in the contView below and then add the contView in the TableViewRow, all works fine...\r\n\r\nvar getHashtagRow = function(feed) {\r\n\t\t\tvar row = Ti.UI.createTableViewRow({\r\n\t\t\t\thashTag : feed.hashTag,\r\n\t\t\t\tid : feed.id,\r\n\t\t\t\tclassName : 'datarow'\r\n\t\t\t});\r\n\r\n\t\t\tvar titleLbl = Ti.UI.createLabel({\r\n\t\t\t\ttext : feed.title,\r\n\t\t\t\tleft : 90,\r\n\t\t\t\ttop : 20,\r\n\t\t\t\tbottom : 20,\r\n\t\t\t\tcolor : 'black',\r\n\t\t\t\tfont : {\r\n\t\t\t\t\tfontFamily : 'STC-Bold',\r\n\t\t\t\t\tfontSize : 33\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\tvar arrowImage = Ti.UI.createImageView({\r\n\t\t\t\timage : '/images/ht_unselect.png',\r\n\t\t\t\theight : 38,\r\n\t\t\t\twidth : 38,\r\n\t\t\t\tleft : 30\r\n\t\t\t});\r\n\t\t\tvar contView = Ti.UI.createView({\r\n\t\t\t\twidth : Ti.UI.FILL,\r\n\t\t\t\theight : Ti.UI.FILL,\r\n\t\t\t\tbackgroundColor : 'red'\r\n\r\n\t\t\t});\r\n\t\t\tcontView.add(titleLbl);\r\n\t\t\tcontView.add(arrowImage);\r\n\t\t\trow.add(contView);\r\n\t\t\treturn row;\r\n\t\t}", "attachment": [], "flagged": false, "summary": "table view scrolling for complex rows (with solution)", "creator": { "name": "sameeh.harfoush", "key": "sameeh.harfoush", "displayName": "Sameeh Harfoush ", "active": true, "timeZone": "Asia/Beirut" }, "subtasks": [], "reporter": { "name": "sameeh.harfoush", "key": "sameeh.harfoush", "displayName": "Sameeh Harfoush ", "active": true, "timeZone": "Asia/Beirut" }, "environment": "Application type: mobile, Titanium SDK: 3.0, Platform & version: Android 4.1, Device: Samsung S3", "comment": { "comments": [ { "id": "237727", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Can you please provide a runnable sample? If ignored, the [JIRA Ticket Checklist|http://docs.appcelerator.com/titanium/latest/#!/guide/How_to_Submit_a_Bug_Report-section-29004732_HowtoSubmitaBugReport-JIRATicketChecklist] describes how under \"Description\" field.", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-02-08T05:03:11.000+0000", "updated": "2013-02-08T05:03:11.000+0000" }, { "id": "238056", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing due to inactivity.\r\n\r\nI'd be happy to reopen once a test case have been added, if possible please add your graphic assets (e.g. _ht_unselect.png_ ) to replicate what you are seeing.\r\n\r\nJira checklist doc was posted above, thanks.", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-02-11T22:46:43.000+0000", "updated": "2013-02-11T22:46:43.000+0000" }, { "id": "287910", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing due to inactivity and not reproducible.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-01-12T19:22:05.000+0000", "updated": "2014-01-12T19:22:05.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }