{ "id": "61329", "key": "TIMOB-697", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-07-25T13:50:55.000+0000", "created": "2011-04-15T02:34:43.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "tableview" ], "versions": [], "issuelinks": [ { "id": "19173", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "61323", "key": "TIMOB-691", "fields": { "summary": "Android: updateRow doesn't work if the table row has headers", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "19174", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-26T20:52:19.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}
See \nQ&A
Android - there is no way to update and/or remove a section\nheader. Even when the associated row(s) have been deleted.
Kitchen sink code below from table_view_row_update.js - the\nupdating of the 'header' does not work(Android). Also, on iPhone,\nsetting the header value to '' - will delete the section header -\nwhich is perfect - just want to do the same in Android.
\nvar tableView = Titanium.UI.createTableView({data:data});
\ntableView.addEventListener('click',function(e)
\n{
\nswitch(e.index)\n{\n case 0:\n {\n var data = {title:'New Row 1 Title', header:'New Section Header'};\n tableView.updateRow(0,data); \n break;\n }
\n