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: 
ionatan
Roku Guru

Grid Screen - Focused items on not-focused rows

Is it possible somehow to set what item should be focused by default on each of the rows from roGridScreen, not only on the focused row as SetFocusedListItem does!?

Thanks!
0 Kudos
5 REPLIES 5
RokuChris
Roku Employee
Roku Employee

Re: Grid Screen - Focused items on not-focused rows

Not at present.
0 Kudos
ionatan
Roku Guru

Re: Grid Screen - Focused items on not-focused rows

Thanks.
0 Kudos
renojim
Community Streaming Expert

Re: Grid Screen - Focused items on not-focused rows

I iterate through every row and set the focused item to 0 before I call Show() on the grid screen because I hate that it defaults to the third entry. I also call SetFocusedListItem(0,0) right before the Show(). Works for me.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
ionatan
Roku Guru

Re: Grid Screen - Focused items on not-focused rows

Thanks! I will try that.
0 Kudos
TheEndless
Channel Surfer

Re: Grid Screen - Focused items on not-focused rows

SetListOffset should do what you're looking for... It sets the start position for the passed in row, even if it's not focused.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos