{ "id": "127700", "key": "TIMOB-16628", "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": "15935", "description": "2014 Sprint 06", "name": "2014 Sprint 06", "archived": true, "released": true, "releaseDate": "2014-03-28" }, { "id": "15936", "description": "2014 Sprint 06 SDK", "name": "2014 Sprint 06 SDK", "archived": true, "released": true, "releaseDate": "2014-03-28" }, { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-03-17T20:34:48.000+0000", "created": "2014-03-14T21:40:14.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "TableViewRow", "qe-closed-3.2.3", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:31.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": null, "attachment": [], "flagged": false, "summary": "iOS: Support tintColor of TableViewRow and listItem", "creator": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "297383", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Test Case\n{code}\nTi.UI.setBackgroundColor('#000');\nvar win = Ti.UI.createWindow({\n fullscreen: true,\n orientationModes:[Ti.UI.PORTRAIT]\n});\n\nvar data = [\n {title:'Red Tint'},\n {title:'Cyan Tint'},\n {title:'Green Tint'},\n {title:'NULL Tint'},\n {title:'My Tint Color Will Change',hasCheck:true}\n]\n\nvar tints = ['red','cyan','green',null];\n\nvar tableView = Ti.UI.createTableView({\n backgroundColor:'white',\n data:data,\n top:0,\n height:'49%'\n});\n\ntableView.addEventListener('click',function(e){\n\n if (e.index < 4)\n {\n var theRow = tableView.sections[0].rows[4];\n theRow.tintColor = tints[e.index];\n }\n})\n\nwin.add(tableView);\n\nvar section = Ti.UI.createListSection();\nvar dataSet = [\n {properties: { title: 'Red Tint'}},\n {properties: { title: 'Cyan Tint'}},\n {properties: { title: 'Green Tint'}},\n {properties: { title: 'NULL Tint'}},\n {properties: { title: 'My Tint Color Will Change',accessoryType:Ti.UI.LIST_ACCESSORY_TYPE_CHECKMARK}},\n];\nsection.setItems(dataSet);\nvar listView = Ti.UI.createListView({top:'51%',sections:[section]});\n\nlistView.addEventListener('itemclick',function(e){\n if (e.itemIndex < 4) \n {\n e.section.updateItemAt(4,{properties: { title: 'My Tint Color Will Change',accessoryType:Ti.UI.LIST_ACCESSORY_TYPE_CHECKMARK,tintColor:tints[e.itemIndex]}});\n };\n})\n\nwin.add(listView);\nwin.open();\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-03-14T23:18:53.000+0000", "updated": "2014-03-14T23:18:53.000+0000" }, { "id": "297385", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending\r\nmaster - https://github.com/appcelerator/titanium_mobile/pull/5471\r\n3_2_X - https://github.com/appcelerator/titanium_mobile/pull/5473", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-03-14T23:20:12.000+0000", "updated": "2014-03-14T23:22:43.000+0000" }, { "id": "297792", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and verified the fix with:\nAppcelerator Studio, build: 3.2.3.201403171239\nTitanium SDK, build: 3.2.3.v20140317142455\nNode.JS Version: v0.10.13\nNPM Version: 1.3.2\n├── acs@1.0.14\n├── alloy@1.3.1\n├── npm@1.3.2\n├── titanium@3.2.1\n└── titanium-code-processor@1.1.0\nDevice:iPad iOS 7.0.3\n\ntintColor is supported in TableView Row and listItem", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-19T00:09:03.000+0000", "updated": "2014-03-19T00:09:03.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }