[TIMOB-7929] iOS: TableViewRow: iOS below 5.0 does not allow user to move a row from a different section and drop between a new row and section
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-04-04T11:37:52.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | Release 3.0.2 |
Components | iOS |
Labels | n/a |
Reporter | Natalie Huynh |
Assignee | jithinpv |
Created | 2012-03-08T12:05:59.000+0000 |
Updated | 2017-03-21T22:13:20.000+0000 |
Description
Steps to Reproduce:
1. Compile the following code:
var table = Ti.UI.createTableView({
moveable:true
}),
data = [],
sectionNumber = 1;
for (var i=0; i < 15; i++) {
var rowData = {
title: 'Row number '+i
};
if(i%5 == 0) {
rowData.header = 'Section Header ' + sectionNumber;
sectionNumber++;
};
data.push(Ti.UI.createTableViewRow(rowData));
};
table.setData(data);
var win = Ti.UI.createWindow({
modal: true,
rightNavButton: Titanium.UI.createButton({
title:'Edit'
})
});
win.rightNavButton.addEventListener('click', function() {
table.editing = true;
});
win.add(table);
win.open();
2. Click the Edit button
3. Move Row number 6 below Row number 4
Actual:
Cannot move row there
Expected: To be able to move and drop the row between a row and section
Issue does not reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 iOS iPhone Simulator: iOS SDK version: 6.0
Closing ticket as the issue cannot be reproduced and due to the above comments.