Problem deleting rows in tableview

Patso, are you seeing this on the device as well as the simulator?

I haven’t device tested, I and am seeing it on the simulator. 

I went ahead and submitted a bug. Case 32773 for build v2014.2189.

Sample app was attached as well.

I think it is only happening where there are multiple objects per row, but I’m not certain.

Yep same stuff on IOS and Android

FYI: This has been fixed in the daily build.

HI
when I have 5 rows and delete third row, fourth row doesn’t take the place of the third row but positions a bit closer to the second row. with evert deleting rows are getting closer and closer. what might it be?
thanks

Can you post a screen shot?  Perhaps some code?

What version of Corona SDK are you running?

Rob

I’m using the latest version of SDK - I’ve just updated it today.
Here’s a video illustrating the problem:
https://www.dropbox.com/s/kzyqscxcz3e6wi7/corona_forum_video.mov
and a bit of code:

 -- Handle row rendering local function onRowRender( event ) local phase = event.phase local row = event.row id = row.index -- print(data[event.row].done) -- Load or Create our settings box local thisRowText if row.index ==1 then thisRowText = data[1].name elseif row.index ==2 then thisRowText = data[2].name elseif row.index == 3 then thisRowText = data[3].name else thisRowText = "new stuff" end function onDeleteBtnTouch(event) list: deleteRow(row.index) print(row[2].rowHeight) end local rowTitle = display.newText( row, ".", 0, 0, row.contentWidth -200, row.contentHeight, native.systemFont, 25 ) rowTitle.text = thisRowText ---rowTitle:setReferencePoint(row.TopLeftReferencePoint) rowTitle.x =rowTitle.width\*0.5 + 100 rowTitle.y = row.contentHeight -50 rowTitle:setFillColor( 0, 0, 0 ) local deleteBtn = display.newImageRect( "circle.png", 40, 40 ) deleteBtn.x =rowTitle.x-350; deleteBtn.y = rowTitle.y; row:insert( deleteBtn ) deleteBtn:addEventListener( "touch", onDeleteBtnTouch ) -----boxes here end ---rowrender --Hande row touch events local function onRowTouch( event ) local phase = event.phase local row = event.target if "press" == phase then print( "Pressed row: " .. row.index ) elseif "release" == phase then print( "Tapped and/or Released row: " .. row.index ) end end --]] -- Create a tableView list = widget.newTableView { left = 0, top = 100, width = display.contentWidth , height = display.contentHeight , onRowRender = onRowRender, onRowTouch = onRowTouch, hideBackground = true, noLines = true, -- topPadding = display.contentHeight/10, bottomPadding = 0 } --Insert widgets/images into a group widgetGroup:insert( list ) -- insert rows into list (tableView widget) -- insert rows into list (tableView widget) for i = 1, 3 do local isCategory = false local rowHeight = 60 local rowColor = { default = { 255, 255, 255, 0 }, over = { 255, 255, 255, 0 } } -- Make some rows --]] list:insertRow { isCategory = isCategory, rowHeight = rowHeight, rowColor = rowColor, } end --- for i

I am seeing the same problem. Starter v2014.2189 OS X v 10.9.2

Can you file a bug report please? Use the “Report a bug” link at the top of the page.  Your test app will need to include your config.lua and your build.settings file and a minimal app that demonstrates the issue.

When you get the email back from the bug system, please post the bug numbers back here as a reference.

Thanks

Rob

Patso, are you seeing this on the device as well as the simulator?

I haven’t device tested, I and am seeing it on the simulator. 

I went ahead and submitted a bug. Case 32773 for build v2014.2189.

Sample app was attached as well.

I think it is only happening where there are multiple objects per row, but I’m not certain.

Yep same stuff on IOS and Android

FYI: This has been fixed in the daily build.