{ "id": "63474", "key": "TIMOB-2842", "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": "11257", "description": "", "name": "Sprint-2011-09", "archived": true, "released": true, "releaseDate": "2011-03-07" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T02:00:13.000+0000", "created": "2011-04-15T03:30:53.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "android", "enterprise", "feature", "reported-1.6.0", "rplist", "tbs-1.7.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T02:00:13.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}

Cannot programmatically set hasCheck while hasChild is\nfalse.

\n

Enterprise ticket here: http://developer.appcelerator.com/helpdesk/view/66121

\n

Android SDK 2.2 - Ti 1.6

\n
\nvar win = Ti.UI.createWindow({\n    backgroundColor:'red',\n});\n \n \n \nvar row = Ti.UI.createTableViewRow({\n        color:'#333',\n        text: 'Not Working ',\n        hasChild:false\n    });\n \nvar row1 = Ti.UI.createTableViewRow({\n           color:'#333',\n           text: 'Working',\n    });\n \nrow.hasCheck = true;\nrow1.hasCheck = true;\nvar table = Ti.UI.createTableView({data:[row,row1]});\n \nwin.add(table);    \nwin.open();\n
{html}", "attachment": [], "flagged": false, "summary": "Android: Setting hasCheck after specifying hasChild is false does not work", "creator": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "environment": null, "comment": { "comments": [ { "id": "129528", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Staging in 1.6.0 sto see if we can work it in.

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

Is this a duplicate of #2755?

{html}", "updateAuthor": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:30:54.000+0000", "updated": "2011-04-15T03:30:54.000+0000" }, { "id": "129530", "author": { "name": "andreassandberg", "key": "andreassandberg", "displayName": "Andreas sandberg", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Hal, no it's not a duplicate, setting the hasChild property to\nfalse makes it so you can't set the hasCheck property to true.

{html}", "updateAuthor": { "name": "andreassandberg", "key": "andreassandberg", "displayName": "Andreas sandberg", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:30:55.000+0000", "updated": "2011-04-15T03:30:55.000+0000" }, { "id": "129531", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [eaeb22cec2cd34690a10d41cfe68f04b86ffdde1])\nMake sure the \"check\" and \"child\" tableview row rightimage\ndrawables can show despite the other one being explicitly set to\nfalse. [#2842 state:fixed-in-qa] \nhttps://github.com/appcelerator/titanium_mobile/commit/eaeb22cec2cd...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:30:55.000+0000", "updated": "2011-04-15T03:30:55.000+0000" }, { "id": "129532", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Tested with Titanium SDK version: 1.7.0 (03/01/11 12:40 eaeb22c)\non
\nG1 1.6
\nNexus One 2.2.2
\nEmulator 2.1
\niPhone 4 OS 4.2.1

\n

var row = Ti.UI.createTableViewRow({

\n
\n    color:'#333',\n    text: 'Not Working ',\n    hasChild:false\n});\n
\n

TableViewRow.text is an undocumented property, must use title to\nwork on iOS

{html}", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:30:56.000+0000", "updated": "2011-04-15T03:30:56.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }