Touch events on images inside TableView widget

Windows Sim, trial build 704b

I’m trying to add an image with a touch event handler into a row of a tableview widget. This all works fine but the event handler never fires the event. Is this correct behaviour?

From the standard widget demo:
[lua] local function onRowRender( event )
local row = event.target
local rowGroup = event.view
local textFunction = display.newRetinaText
if row.isCategory then textFunction = display.newEmbossedText; end

row.title = textFunction( menudata[event.index].text, 12, 0, native.systemFontBold, 16 )
row.title:setReferencePoint( display.CenterLeftReferencePoint )
row.title.y = row.height * 0.5

if not row.isCategory then
row.title.x = 15
row.title:setTextColor( 0 )

local del = display.newImage(rowGroup,“deletebtn.png”)
del.x, del.y = 270, 32
del.xScale, del.yScale = .7, .7
rowGroup.del = del

local mask = graphics.newMask(“slidemask.png”)
del:setMask( mask )

del.maskScaleX, del.maskScaleY = -1, 1
del.maskX = del.width/2

del.transtime = 300

function deletetap(event)
print(‘DELETETAP - never fires’)

event.phase = “delete”
return true
end
function del:setActive()
print(‘active’,deletetap)
del:addEventListener(“touch”,deletetap)
end
function del:setInactive()
print(‘inactive’)
del:removeEventListener(“touch”,deletetap)
end
end

– must insert everything into event.view:
rowGroup:insert( row.title )
end[/lua] [import]uid: 8271 topic_id: 26705 reply_id: 326705[/import]