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

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
NewManLiving
Level 7

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
Level 7

Re: Sections in MarkupGrid (SceneGraph)

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

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