{ "id": "63821", "key": "TIMOB-3189", "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": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T03:39:05.000+0000", "created": "2011-04-15T03:39:04.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "android", "feature", "klist", "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": "2017-03-02T19:30:21.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}

For Android tableview.editing = true; does not put the table\nview into editing mode as it does in iOS.
\nTested with TiSDK 1.5.1, 1.6.0RC1, Android SDK 2.2

\n
\nvar win = Titanium.UI.createWindow({  \n    backgroundColor:'#000'\n});\n\nvar data1 = [];\n\nfor(var v=0; v<=4; v++) {\n    var row = Ti.UI.createTableViewRow({\n        title:'Section 1 row '+v,\n        className:'sectionrow'\n    });\n    data1.push(row);\n}\n\nvar tableview = Ti.UI.createTableView({\n    top: 0,\n    height: 500,\n    data:data1\n});\n\nvar button = Ti.UI.createButton({\n    title: 'edit',\n    height: 40,\n    width: 200,\n    bottom: 20\n});\nbutton.addEventListener('click', function(e) {\n    \n    if (tableview.editing === true){\n        tableview.editing = false;\n    }else{\n        tableview.editing = true;\n    }\n});\n win.add(tableview);\n win.add(button);\n win.open();\n
\n

Associated Helpdesk Ticket

\n

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

{html}", "attachment": [], "flagged": false, "summary": "Android: TableView editing does not work", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "130248", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

\"editable\" and \"separatorStyle\" are also not implemented in\nAndroid

\n

Associated Helpdesk Ticket

\n

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

{html}", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:39:04.000+0000", "updated": "2011-04-15T03:39:04.000+0000" }, { "id": "130249", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This is an iOS user experience and not common to Android or\nBlackberry UIs. It might get added, but it's non-trivial and forces\na foreign experience on Android and Blackberry users.

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

Moving to invalid.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:39:05.000+0000", "updated": "2011-04-15T03:39:05.000+0000" }, { "id": "130251", "author": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Agreed that this is a foreign concept to Android.

{html}", "updateAuthor": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:39:05.000+0000", "updated": "2011-04-15T03:39:05.000+0000" }, { "id": "408473", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closed as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-02T19:30:21.000+0000", "updated": "2017-03-02T19:30:21.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }