[TIMOB-11523] Android: TableView - delete row cannot delete a row without giving it a number, but iOS can
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-11-20T17:55:07.000+0000 |
Affected Version/s | Release 2.1.3 |
Fix Version/s | Release 3.1.0, 2012 Sprint 23 API, 2012 Sprint 23 |
Components | Android |
Labels | api, module_tableview, parity, qe-and100112, qe-testadded |
Reporter | Natalie Huynh |
Assignee | Ping Wang |
Created | 2012-10-17T21:46:13.000+0000 |
Updated | 2014-06-19T12:42:36.000+0000 |
Description
Steps To Reproduce:
1. Run test code from TIMOB-11510
Actual:
Runtime error because you delete a row by row name
Expected:
To be able to delete the row by row name
Steps for FR: 1. Run the code below.
i) Click the buttons to add Blue Row to the table and then click the button "remove Blue Row" to check the new functionality of deleteRow(TableViewRowProxy). ii) Click the Blue Row which is added to the table (or any row in the table) and check the event bubbling from the console log. Should see something like:
2. Run the test case in TIMOB-10328. 3. Run KS->Base UI->Views->Table Views to make sure nothing is broken.
PR: https://github.com/appcelerator/titanium_mobile/pull/3386
iOS does not support deleting row by row proxy. However this will be implemented as part of TIMOB-11683
Tested code:
with: Titanium Studio, build: 3.0.3.201302201202 Titanium SDK, build: 3.1.0.v20130311151655 Devices: Nexus4 4.2 GalaxyS3 4.0.4
Anvil testcase PR https://github.com/appcelerator/titanium_mobile/pull/5003