{ "id": "61892", "key": "TIMOB-1260", "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": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:55:40.000+0000", "created": "2011-04-15T02:47:59.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "creation", "defect", "ios", "iphone", "row", "tableview" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:55:40.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}

Using the attached file (code came from the kitchen sink), if a\nnew table row is created via insertRowAfter/Before, setting the\nheader property is ignored. Using appendRow does honor that\nproperty though. I have run this using OS 4(iphone project) and our\nlatest from HEAD today.

{html}", "attachment": [ { "id": "17961", "filename": "rowinsert.js", "author": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:47:59.000+0000", "size": 1703, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "InsertRowAfter & insertRowbefore do not respect the header property of createTableRow", "creator": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "125202", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [fca3d660d7cfcafd0cb72f298edbe8957be30d59])\n[#1260 state:fixed-in-qa]: Fixes to allow row\nheaders for insert. SEE TICKET FOR CAVEATS. \nhttp://github.com/appcelerator/titanium_mobile/commit/fca3d660d7cfc...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:47:59.000+0000", "updated": "2011-04-15T02:47:59.000+0000" }, { "id": "125203", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Note that the comment specifically mentioned caveats.

\n\n

KS was also updated to include a number of test cases\n(table_view_row_insert.js).

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:48:00.000+0000", "updated": "2011-04-15T02:48:00.000+0000" }, { "id": "125204", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

confirmed against 1.4.1.4dc5ff, has testcase

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:48:00.000+0000", "updated": "2011-04-15T02:48:00.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }