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: 
wtglover
Visitor

Sections in MarkupGrid (SceneGraph)

The docs for MarkupGrid state that to create sections a ContentNode with a contentType of "SECTION" should be created, with the item or content nodes contained as children of the section node. However, attempting to set the contentType to "SECTION" on a ContentNode returns the error "Error setting the "ContentType" field of a "ContentNode" node".

I believe that this is because a contentNode's ContentType can only be set to certain pre-defined strings (from the Docs for ContentNode: "Valid values = movie, episode, season, series, audio"). If that is the case, how can sections be created for a MarkupGrid?
0 Kudos
3 REPLIES 3
NewManLiving
Visitor

Re: Sections in MarkupGrid (SceneGraph)

http://sdkdocs.roku.com/display/sdkdoc/ContentNode
Gives an example, works for me
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
0 Kudos
Dhir_Pratap
Streaming Star

Re: Sections in MarkupGrid (SceneGraph)

Hi,
Can someone pls confirm if the sections work for markupgrid? Is there any code sample?
0 Kudos
apadi
Visitor

Re: Sections in MarkupGrid (SceneGraph)

Horizontal scroll in not working on markup grid. Can some one let me know how the horizontal scroll works on mark up grid. Like, I want to hide the left columns when I scroll right and similarly show them when I scroll left on the grid.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.