Widget Development (Iterate infotable)
Hello Everyone,
I am trying to build a widget, I defined the input parameters in the ide.js file.
I defined 'Data' as INFOTABLE, them I defined it's fields as FIELDNAME.
Now I am trying to iterate throw the values of my infotable in the runtime.js. How can I do that?
When I tried to do this:
var rows = this.getProperty('Data');
for(var i = 0; i < rows.length; i++){
I got: "Exception: Cannot read property 'length' of undefined."
This is the right way to get the fields data: "rows[i][this.getProperty('ID')]"??
ID is one of the FIELDNAMEs properties defined in the ide.js.

