Good day to everyone…
Being disabled and ill is not a condition that helps, especially when you have to deliver a TV app within a few days for one of the largest radio stations in the world.
That said, if anyone can give me a hand…
In the following code, at some point I delete the last cell of the first row in the GridView…
Unfortunately, it doesn’t work. The second cell of the first row is still selectable…
I don’t know. Help!
if trovato$ = ""
contentNode = m.top.content
if contentNode <> invalid
riga = contentNode.GetChild(0)
if riga <> invalid
numero = riga.getChildCount()
if numero = 2
riga.RemoveChild(1)
end if
end if
contentNode.Update({ children: riga })
end if
m.top.content = contentNode
end if
' set up a root ContentNode to represent rowList on the GridScreen
contentNode = m.top.content
if contentNode = invalid
contentNode = CreateObject("roSGNode", "ContentNode")
end if
contentNode.Update({
children: rootChildren
}, true)
' populate content field with root content node.
' Observer(see OnMainContentLoaded in MainScene.brs) is invoked at that moment
m.top.content = contentNode
