Location of touch event in table view row?

I’ve added a row touch listener to my table view, but as far as I can tell, it can only tell that the row was touched (or swiped). Any way to get the x coordinate of the touch? I’ve got three different buttons on each row, so I need to know where they touched it.

I also can’t for the life of me figure out that when I swipe left or right on a row, it does a director like change to the previous scene.

Scratching head.
[import]uid: 58455 topic_id: 26370 reply_id: 326370[/import]

I don’t think I see any way to do this. I printed out the event keys and values of the touch event, and I don’t see anything that will get me the x, y position of the touch.

If I can’t resolve this, I think I’m going to have to remove the edit/refresh/delete buttons from each row and place them outside the table. If the user clicks one, it will act on the currently selected row. [import]uid: 58455 topic_id: 26370 reply_id: 107028[/import]

getContentPosition() or getScrollPosition() depends on the build you’re using. [import]uid: 100222 topic_id: 26370 reply_id: 107030[/import]

Actually, I may have found a workaround. I added a touch listener to the image when I add it to the table row. Inside this image touch listener, I set a module level variable (e.g. deletePressed) to true. Inside the row touch listener, I interrogate this variable and can take the appropriate action since inside this row touch listener, I know the row id. [import]uid: 58455 topic_id: 26370 reply_id: 107033[/import]

Yes, that worked like a charm. When the delete button is clicked on a row, I save the row index in a module level variable. If the user confirms, I delete the row from the list using list:deleteRow(idx).

Easy, squeezey, lemon peezey. [import]uid: 58455 topic_id: 26370 reply_id: 107139[/import]