{ "id": "121422", "key": "AC-2345", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-10-21T12:43:40.000+0000", "created": "2013-10-21T10:51:48.000+0000", "labels": [ "TableViewRow", "animated", "animation" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:22.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": [], "description": "TableViewRow, is impossible to switch off the animation using \"animated: false\".\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow();\r\nvar tableView = Ti.UI.createTableView({\r\n\tstyle: Ti.UI.iPhone.TableViewStyle.GROUPED\r\n});\r\n \r\nvar removeThirdRow = Ti.UI.createTableViewRow({title: \"Remove third row\"}),\r\n addNewRow = Ti.UI.createTableViewRow({title: \"Add new row\"}),\r\n lastOne = Ti.UI.createTableViewRow({title: \"... ... ...\"});\r\n \r\ntableView.data = [removeThirdRow, addNewRow, lastOne];\r\n\r\n\r\nwin.add(tableView);\r\nwin.open();\r\n \r\n\r\ntableView.addEventListener(\"click\", function(e){\r\n if(e.rowData.title == \"Remove third row\")\r\n {\r\n \t tableView.deleteRow(2, {animated: false});\r\n }\r\n else\r\n {\r\n tableView.insertRowAfter(1, Ti.UI.createTableViewRow({title: \"New Row\"}), {animated: false});\r\n }\r\n});\r\n\r\n\r\n/* ===> WORK AROUND - BUT IT DOESN'T WORK ON 100% ANYWAY\r\ntableView.addEventListener(\"click\", function(e){\r\n if(e.rowData.title == \"Remove third row\")\r\n { \t \r\n \tvar rows = tableView.data[0].rows;\r\n\r\n\t\trows.splice(2, 1);\r\n\r\n \ttableView.data[0][\"rows\"] = rows;\r\n\r\n \ttableView.setData(tableView.data);\r\n }\r\n else\r\n {\r\n \tvar rows = tableView.data[0].rows;\r\n\r\n\t\trows.push(Ti.UI.createTableViewRow({title: \"New Row\"}));\r\n\r\n \ttableView.data[0][\"rows\"] = rows;\r\n\r\n \ttableView.setData(tableView.data);\r\n }\r\n});*/\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: TableViewRow animated:false property doesn't work", "creator": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti 3.1.3.GA (iOS6, iOS7)", "comment": { "comments": [ { "id": "275915", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-21T11:06:54.000+0000", "updated": "2013-10-21T11:06:54.000+0000" }, { "id": "275922", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-10-21T12:43:40.000+0000", "updated": "2013-10-21T12:43:40.000+0000" }, { "id": "275923", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, sorry for that. Thanks", "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-21T12:48:23.000+0000", "updated": "2013-10-21T12:48:23.000+0000" }, { "id": "281041", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "DUP issue. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-24T22:30:07.000+0000", "updated": "2013-11-24T22:30:07.000+0000" }, { "id": "281151", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Mostafizur Rahman: Hi, sorry ,but I can't see TIMOB-13401 because of \"Permission Violation\". Can you help me how to solve it out? Thanks", "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-25T16:38:50.000+0000", "updated": "2013-11-25T16:38:50.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }