[TIMOB-1260] InsertRowAfter & insertRowbefore do not respect the header property of createTableRow
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Trivial |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:55:40.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.5.0 |
| Components | iOS |
| Labels | creation, defect, ios, iphone, row, tableview |
| Reporter | ctredway |
| Assignee | Blain Hamon |
| Created | 2011-04-15T02:47:59.000+0000 |
| Updated | 2011-04-17T01:55:40.000+0000 |
Description
Using the attached file (code came from the kitchen sink), if a new table row is created via insertRowAfter/Before, setting the header property is ignored. Using appendRow does honor that property though. I have run this using OS 4(iphone project) and our latest from HEAD today.
Attachments
| File | Date | Size |
|---|---|---|
| rowinsert.js | 2011-04-15T02:47:59.000+0000 | 1703 |
(from [fca3d660d7cfcafd0cb72f298edbe8957be30d59]) [#1260 state:fixed-in-qa]: Fixes to allow row headers for insert. SEE TICKET FOR CAVEATS. http://github.com/appcelerator/titanium_mobile/commit/fca3d660d7cfcafd0cb72f298edbe8957be30d59"> http://github.com/appcelerator/titanium_mobile/commit/fca3d660d7cfc...
Note that the comment specifically mentioned caveats.
KS was also updated to include a number of test cases (table_view_row_insert.js).
confirmed against 1.4.1.4dc5ff, has testcase