{ "id": "109891", "key": "TIMOB-12788", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "15116", "description": "2013 Sprint 11 BB", "name": "2013 Sprint 11 BB", "archived": true, "released": true, "releaseDate": "2013-06-03" }, { "id": "15109", "description": "2013 Sprint 11", "name": "2013 Sprint 11", "archived": true, "released": true, "releaseDate": "2013-06-03" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-03T23:01:25.000+0000", "created": "2013-02-19T21:38:27.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.1.2", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-08-12T20:09:06.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": "Test case:\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : 'white',\r\n layout : 'vertical'\r\n});\r\n\r\nvar tableData = [];\r\nvar i;\r\nfor ( i = 0; i < 10; i++) {\r\n\r\n var row = Ti.UI.createTableViewRow({\r\n className : 'customRow',\r\n selectedBackgroundColor : 'white',\r\n rowIndex : i, \r\n height : 110\r\n });\r\n\r\n var labelUserName = Ti.UI.createLabel({\r\n color : '#576996',\r\n font : {\r\n fontFamily : 'Arial',\r\n fontSize : 20,\r\n fontWeight : 'bold'\r\n },\r\n text : 'Header line ' + i,\r\n left : 0,\r\n top : 6,\r\n width : '100%',\r\n height : 30\r\n });\r\n\r\n row.add(labelUserName);\r\n\r\n var labelDetails = Ti.UI.createLabel({\r\n color : '#222',\r\n font : {\r\n fontFamily : 'Arial',\r\n fontSize : 12,\r\n fontWeight : 'normal'\r\n },\r\n text : 'Text line ' + i,\r\n left : 0,\r\n top : 44,\r\n width : '100%'\r\n });\r\n\r\n row.add(labelDetails);\r\n\r\n tableData.push(row);\r\n\r\n}\r\n\r\nvar tableView = Ti.UI.createTableView({\r\n backgroundColor : 'white',\r\n data : tableData\r\n});\r\n\r\ntableView.addEventListener('click', function(e) {\r\n Ti.API.info(\"row click index =\" + e.index);\r\n Ti.API.info('row click rowData = ' + e.rowData);\r\n});\r\n\r\nwin.add(tableView);\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "BlackBerry: Support Custom Table View Rows", "creator": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "266028", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix & now we can implement custom table view rows. Thus closing.\r\n\r\nEnvironment:\r\nAppcel Studio : 3.1.2.201308082014\r\nTi SDK : 3.1.2.v20130809141556\r\nMac OSX : 10.8.4\r\nAlloy : 1.2.0-alpha6\r\nCLI - 3.1.2-alpha\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-12T20:08:48.000+0000", "updated": "2013-08-12T20:08:48.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }