Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jeswin
Visitor

Postergrid - JumptoItem

Hi,

I am using postergrid jumptoitem it's working, but when i get the item focused postion it says the same old index.

For eg:

current index is 1 and I am using jumptoitem = 2
When i print grid.itemFocused it displays 1
How can I get the new index

Please refer the code below

m.postGrid.jumpToItem = m.postGrid.itemSelected + 1


Am i doing anything wrong?
0 Kudos
1 REPLY 1
jeswin
Visitor

Re: Postergrid - JumptoItem

cool!! I found out

We have to setFocus(true) for that grid
0 Kudos