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

Trouble Implementing both MarkupGrid and Rowlist

I am having an issue with populating a Rowlist on the "itemFocused" within MarkupGrid that is acting as my navigation. I want the Scene to look something like this:

[center:1v5erezp][Nav option 1] [Nav option 2] [Nav option 3][/center:1v5erezp]
[center:1v5erezp]----------------[/center:1v5erezp]

[center:1v5erezp]{Rowlist that associates with "Nav Option 2" would go here.}[/center:1v5erezp]


I'm able to separately render the MarkupGrid and Rowlist, which pulls content from a Task node, but when I try to implement the Rowlist on the same scene as the MarkupGrid, my screen turns black. So I decided to place the RowList in a separate Group Node but I'm not sure how to make the RowList visible within the HomeScene again. Any suggestions? Here is my code from HomeScene:

HomeScene.XML

<?xml version="1.0" encoding="utf-8" ?> 
<component name="HomeScene" extends="Scene"  initialFocus = "headerMarkupGrid">
    <script type="text/brightscript" uri="pkg:/components/HomeScene.brs" />
        <children>
        <Poster
                    id="logo" 
                    uri="pkg:/images/logo.png"
                    width="350"
                    height="150" />
   <MarkupGrid
            id="headerMarkupGrid"
            translation = "[ 275, 10 ]" 
            itemComponentName="TopNavGroup"
            itemSize="[550,150]"
            itemSpacing = "[ 0, 10 ]" 
            drawFocusFeedback = "false" 
            numRows="1"
            numColumns = "4" 
            />
        </children> 
</component>
0 Kudos