Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
ionatan
Level 7

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
Roku Employee
Roku Employee

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

Not at present.
0 Kudos
ionatan
Level 7

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

Thanks.
0 Kudos
renojim
Level 8

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
0 Kudos
ionatan
Level 7

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

Thanks! I will try that.
0 Kudos
TheEndless
Level 7

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