When timegrid load first time, clock is not getting displayed.
But when i navigate to other view like search view and grid view.
And when i come back to timegrid view, clock is getting displayed on top right of the timegrid view.
Like below image
I thought it is overhang tag so i tried below way to hide this.
overhang = m.top.findNode("Overhang")
overhangChildren = overhang.getChildren(-1, 0)
for each child in overhangChildren
?"Overhang Child", child
if child.subtype() = "Clock" then
child.showClock = false
'm.overhang.removeChild(child)
end if
next
but no luck. Can anyone suggest any way to hide this clock in timegrid view.
First time when i am in time grid, clock is not visible. But when i navigate to grid view and come back to timegrid view it’s automatically shows up. I have tried various ways. Those are as below.
I have commented out the tag in TimeGridView.xml file.
I have make the attribute visible=false and showClock= false in tag in TimeGridView.xml file.
I have also tried below code
overhangChildren = m.overhang.getChildren(-1, 0)
for each child in overhangChildren
?"Overhang Child", child
if child.subtype() = "Clock" then
m.overhang.removeChild(child)
end if
next
Also set showClock= false in gridView.
Still not able to hide the clock in TimeGrid View so i have asked this question here.
@RokuKC I was facing a similar issue earlier, but I have not found any proper solution for this clock. It’s coming randomly at the top right corner of any SGDEX View. Maybe the Roku Team better explained why this clock displays with SGDEX View. There is a Default clock over there. I printed all overhang tag displays in view but have not found this clock in any node.