tableView onRowTouch event.target should be the tableView, but it's equal to event.row

The event you receive in your onRowTouch handler has event.target and event.row in it, but they’re the same. event.target needs to be the tableView itself, as it is with onRowRender, or there’s no way to get to the tableView object from within the onRowTouch event.

This prevents accessing data at the tableView level when doing an onRowTouch, and since you have to define onRowTouch before calling newTableView(), you can’t use a closure to get the tableView into onRowTouch as an upvalue.

I’m converting from the old widgets, and this has stopped me for the moment.

Best regards,

Andy

And now that tableView.content is no longer provided, that means tableView.content.rows is gone, which means there’s no way to access and manipulate row objects by accessing them from the tableView object? Ouch – that’s a huge loss of functionality that will force me to stay with widgets 1 until something is reimplemented.

Someone posted in stackoverflow that tableView._view._rows is essentially tableView.content.rows, but it looks like the underlying widget code changes the row objects in ways that makes that not work.

And now that tableView.content is no longer provided, that means tableView.content.rows is gone, which means there’s no way to access and manipulate row objects by accessing them from the tableView object? Ouch – that’s a huge loss of functionality that will force me to stay with widgets 1 until something is reimplemented.

Someone posted in stackoverflow that tableView._view._rows is essentially tableView.content.rows, but it looks like the underlying widget code changes the row objects in ways that makes that not work.