Does anyone have code which successfully sets the scroll position of a TableView? I'm trying to scroll the table to a specific item, and I have what ought to be the correct y-offset, but when I try to set:
mytable.content_offset = (0, y)
the content doesn't change position.
The docs say that table views inherit from scroll views, so they should have all the same methods...so I feel like I'm doing something wrong here.
In a related question: is there a good way to get the position of a particular table view item/index in the tableview's coordinates? Right now I'm just multiplying the row_height by the item index, but that's not great if I were ever to have variable item heights, or section headers or anything of that sort.