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: 

Grid Object

Has anyone had any success using the new grid object?

I am not having any luck with the event messages working properly.
Is this a known bug?
0 Kudos
2 REPLIES 2
RokuChris
Roku Employee
Roku Employee

Re: Grid Object

I've been working with the grid on a few different channels. roGridScreen events are a little confusing. I don't think it's a bug, but the documentation is not quite right. Here are a few things that may help.

  • In my experience, the isListFocused() event never fires

  • When the isListItemFocused() event fires, GetIndex() will return the index of the focused list (row) and GetData() will return the index of the focused item (column)
0 Kudos

Re: Grid Object

Thanks Chris!

This works just as you described. I was hung up waiting for the isListFocused() event, which never occurs.

George
0 Kudos