I am sure the fix is simple but I need to get past this.
I have 2 tables, and have this code in a button’s script.
data1=event.source.getComponent(“Table1a”).data
data2=event.source.getComponent(“Table1b”).data
The complaint is at the first , but even if I swap them I get the same error.
I see data in the tables on screen fine, they are populated from SQL queries.
The file just shows the button and the 2 tables.
The lower table has first five fields integer (1b)
I can provide the console error if need be
"TypeError: getComponent(): 1st arg can’t be coerced to int "
I appreciate any help/hints