joshfire/joshfire-framework — Issue #38: focusByIndex doesn't update grid coordinates.
Author: Steren
Created: 2011-12-13 17:33:37+00:00
State: open

// the followingline doesn't work well: the grid coordinates are not updated
app.ui.element('/content/itemList').focusByIndex(gotoIndex);

For now, a hack is to do :
app.ui.element('/content/itemGrid').grid.goTo( [gotoIndex, 0] );