{ "id": "61445", "key": "TIMOB-813", "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": [ { "id": "11223", "name": "Release 1.3.0", "archived": true, "released": true, "releaseDate": "2010-05-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:54:19.000+0000", "created": "2011-04-15T02:37:03.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:54: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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

see code - header for new rows is ignored

\n

var win = Ti.UI.createWindow();

\n

var b = Ti.UI.createButton({

\n
\ntitle:'Append Row',\nwidth:200,\nheight:30,\ntop:10\n
\n

});

\n

win.add(b);

\n

b.addEventListener('click', function()
\n{

\n
\nvar row = Ti.UI.createTableViewRow({header:'Bar'});\nvar l = Ti.UI.createLabel({\n    text:' I am a new row',\n    height:30,\n    width:200\n});\nrow.add(l);\ntableview.appendRow(row)\n
\n

}); var data = [

\n
\n{title:'Row 1'},\n{title:'Row 2'},\n{title:'Row 3'},\n{title:'Row 4',header:'too'}\n
\n

];

\n

var tableview = Ti.UI.createTableView({

\n
\ndata:data,\ntop:50\n
\n

});

\n

win.add(tableview);
\nwin.open();

{html}", "attachment": [], "flagged": false, "summary": "appendRow on table view does not support headers", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124120", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [11e4a2746625db7ddda3042b7e4ceea244e190f7])\nCloses #813: Addition of\nTiUITableViewActionAppendRowWithSection action, which allows for\nappendRow to accept headers. \nhttp://github.com/appcelerator/titanium_mobile/commit/11e4a2746625d...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:37:03.000+0000", "updated": "2011-04-15T02:37:03.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }