I'm working on a scenegraph GridView app. All of the row items are all lowercase.
I would like to convert them to Upper case.
I am using Roku Scenegraph Developer Extensions. (SGDex)
I have tried using UCase on the RowAA. This does change the title to Upper Case, but it breaks the script.
ie...
title: UCase(fieldInJsonAA)
if fieldInJsonAA = "movies" or fieldInJsonAA = "series"
mediaItemsArray = jsonAA[fieldInJsonAA]
itemsNodeArray = []
for each mediaItem in mediaItemsArray
itemNode = ParseMediaItemToNode(mediaItem, fieldInJsonAA)
itemsNodeArray.Push(itemNode)
end for
rowAA = {
'title: fieldInJsonAA
title: UCase(fieldInJsonAA)
children: itemsNodeArray
}
The method I tried the in Example does Change the row title to Upper Case. However, it breaks the script.