{ "id": "63387", "key": "TIMOB-2755", "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": "11239", "name": "Release 1.6.0 M06", "archived": true, "released": true, "releaseDate": "2011-01-24" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T02:00:00.000+0000", "created": "2011-04-15T03:28:42.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "defect", "enterprise", "release-1.6.0", "reported-1.5.1", "reported-1.6.0", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T02:00:00.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

i'm trying to change the hasCheck property when a row is clicked\nbut the check icon never shows. i'm using the sdk 1.5.1 and works\nonly for ios.

{html}", "attachment": [], "flagged": false, "summary": "row.hasCheck on Android", "creator": { "name": "aarmenta", "key": "aarmenta", "displayName": "aarmenta", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aarmenta", "key": "aarmenta", "displayName": "aarmenta", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129342", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "{html}

Sample Code

\n
\n/**\n * Demo to demonstrate that \"hasCheck\" can't be set on Android. Shows you\n * a table with 3 rows. Clicking should toggle the \"hasCheck\". Odd rows will\n * start off checked.\n */\nvar win = Titanium.UI.createWindow({\n    title: 'Android HasChecks',\n    backgroundColor:'#fff'\n});\n\n/**\n * Create a table with two rows, one checked initially and the other not.\n */\nvar table = Ti.UI.createTableView({data: [\n    Ti.UI.createTableViewRow({ hasCheck: true, height: 30 }),\n    Ti.UI.createTableViewRow({ hasCheck: false, height: 30 })\n    ]\n});\n\n/**\n * Clicking a row should toggle its \"hasCheck\".\n */\ntable.addEventListener('click', function(evt) {\n    evt.row.hasCheck = !evt.row.hasCheck;\n});\nwin.add(table);\nwin.open();\n
\n

Associated Helpdesk Ticket

\n

http://developer.appcelerator.com/helpdesk/view/63071

{html}", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-04-15T03:28:43.000+0000", "updated": "2011-04-15T03:28:43.000+0000" }, { "id": "129343", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [ced322fc0662976d349a46eebe640ae1779bd1d9])\noverride the right setProperty() in TableViewRow so we react to\nproperties being changed in the view [#2755\nstate:fixed-in-qa]
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/ced322fc0662...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:28:43.000+0000", "updated": "2011-04-15T03:28:43.000+0000" }, { "id": "129344", "author": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Is #2842 a duplicate of this ticket?

{html}", "updateAuthor": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:28:43.000+0000", "updated": "2011-04-15T03:28:43.000+0000" }, { "id": "129345", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Verified on G1/1.6 and Nexus One/2.2.1 using build #e1cb22a

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:28:43.000+0000", "updated": "2011-04-15T03:28:43.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }