I need add textview, switch, etc… in cell tableview:
local function onRowRender ( event ) row.txtName = native.newTextField( row.nameText.x+\_W/4\*2, row.nameText.y, \_W/4\*2.5, 36 ) row.txtName.font = native.newFont( native.systemFontBold, 18 ) row.txtName.anchorX = 0.4 row.txtName:addEventListener( "userInput", handleTextFieldEvent ) row:insert( row.txtName ) end local tbProfile = widget.newTableView { top = navBarHeight, width = display.contentWidth, height = display.contentHeight - navBarHeight - tabBarHeight, onRowRender = onRowRender, onRowTouch = onRowTouch, listener = scrollListener } \_layer.dataTable = tbProfile sceneGroup:insert( \_layer.dataTable )
And work perfect, but I have a problem. It when running not problem
2.jpg
But, I when swipe tableview from up, the textview on top of other component or widget:
1.jpg
What I can try to do?