{ "id": "81914", "key": "AC-3134", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2011-12-29T04:31:06.000+0000", "created": "2011-10-25T04:16:54.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "updated": "2016-03-08T07:48:12.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "If I use setData the data are not refreshed if I have used TableViewSection\r\nI have modified an example in kitchenSink, the file is table_view_api_custom_header to replicate\r\n\r\nfrom line 43\r\nvar tableview = Titanium.UI.createTableView({\r\n\t//data:data\r\n});\r\n\r\ntableview.setData(data);\r\ntableview.setData([]);\r\ndata=[];\r\ndata[0] = section;\r\n\r\nsection.add(Ti.UI.createTableViewRow({hasChild:true,title:'Row 1'}));\r\nsection.add(Ti.UI.createTableViewRow({hasDetail:true,title:'Row 2'}));\r\nsection.add(Ti.UI.createTableViewRow({hasCheck:true,title:'Row 3'}));\r\nsection.add(Ti.UI.createTableViewRow({title:'Row 4'}));\r\n\r\ntableview.setData(data);", "attachment": [], "flagged": false, "summary": "SetData in TableView does not workin in conjunction with TableViewSection", "creator": { "name": "nasoni", "key": "nasoni", "displayName": "Michele", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nasoni", "key": "nasoni", "displayName": "Michele", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac", "comment": { "comments": [ { "id": "177540", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Thanks for raising this ticket.\r\n\r\nIn order for me to escalate it to the core team, all the fields must be complete. Please check it against the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist], and add any missing information.\r\n\r\nFurthermore, a test case must be included and run without modification, as per the [Creating a Test Case|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-CreatingaTestCase] section.\r\n\r\nI will mark this resolved for now. Please reopen it once it is complete, and I will move it to the main project.\r\n\r\nCheers", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-29T04:30:57.000+0000", "updated": "2011-12-29T04:30:57.000+0000" }, { "id": "183553", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Closing due to inactivity. If this issue still exists, please raise a new ticket, including all the information in the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist] to ensure that we can escalate it quickly. Read [How to Submit a Bug Report|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report] if you have not read it before, and always start a ticket using the [JIRA Ticket Template|https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template].\r\n\r\nThanks in advance", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-02-17T02:23:08.000+0000", "updated": "2012-02-17T02:23:08.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }