(Repost since I was in the wrong place the first time)
Hi all,
I've been working with Gridview and wanted to devise a way to "paginate" entries from a list into 5 visible cells. Right now, I can render the first 5 cells and first 5 entries in the list, but I want to have the list jump to the next "page" with entry 6 as the current selection at the top of the gridview object. An image of my current gridview object is below for reference (nevermind the ugly font).
You should be able to achieve this by calling playdate.ui.gridview:setScrollPosition(x, y, [animated]), either just doing the math yourself to get the correct x, y position, or by using playdate.ui.gridview:getCellBounds(section, row, column, [gridWidth]) to get info about the location of the cell you want to scroll to.