Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[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 Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-04-04T11:37:52.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sRelease 3.0.2
ComponentsiOS
Labelsn/a
ReporterNatalie Huynh
Assigneejithinpv
Created2012-03-08T12:05:59.000+0000
Updated2017-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

Comments

  1. jithinpv 2013-04-04

    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
  2. Lee Morris 2017-03-21

    Closing ticket as the issue cannot be reproduced and due to the above comments.

JSON Source