runScript() in table

Hi.
How can use this?
runScript(“rootFunction(” + {Root Container.Table,name} + “)”, 8000)
my function is in Root Container
With a button event.source.parent.function and using runScript?

The question is a bit cryptic, but possibly this

runScript("self.parent.rootFunction",8000,{Root Container.Table.name})

Also, on a separate topic, calling the function the way you defined in the question could lead to performance issues. As of 7.9, you should call the function as follows (following your example)

runScript("rootFunction",8000,{Root Container.Table,name})
1 Like