Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimeGridView Doesn't Contain the interface members detailed in documentation? #54

Open
bcorvino opened this issue Dec 9, 2020 · 2 comments

Comments

@bcorvino
Copy link

bcorvino commented Dec 9, 2020

Hi,

I'm working with the TimeGridView sample and setting:

  • autoDismissTime
  • ignoreTrickPlayKeys
  • duration

on the TimeGridView all seem to have no effect. Further, I can't find any references to those strings anywhere in the codebase. Is the extension in the repository out-of-date with the documentation, or am I doing something wrong/not looking in the right place?

My code:

grid = CreateObject("roSGNode", "TimeGridView")

    ' put a handler config on the root node of the tree
    content = CreateObject("roSGNode", "ContentNode")
    content.AddFields({
        HandlerConfigTimeGrid: {
            name: "CHRoot"
        }
    })

    ' set content to the view
    grid.update({
      autoDismissTime: 5,
      programTitleFocusedColor: "0xFF0000"
      duration: 2000,
      ignoreTrickPlayKeys: true
    }, true)

Thank you!

@RokuChris
Copy link
Contributor

None of these fields is currently supported by TimeGridView itself. See the documentation here: https://github.com/rokudev/SceneGraphDeveloperExtensions/blob/master/documentation/1-components.md#timegridview

To make use of those features you could build a custom view and populate it with the SGDEX ContentManager. That is discussed here: https://github.com/rokudev/SceneGraphDeveloperExtensions/blob/master/documentation/6-ContentManager_with_Custom_Views_Guide.md

Or you could skip SGDEX and use the RSG TimeGrid component directly. https://developer.roku.com/docs/references/scenegraph/list-and-grid-nodes/timegrid.md

@Manvendra-Jadon
Copy link

@RokuChris Can you please look into #59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants