:: Forum >>
Brackets
Hi,
I do not want curly brackets in this :
obj.setDataText(function(i, j){return data1[i][j]});
How is possible to rewrite this code?
Thank a lot
ThomasV
Tuesday, January 20, 2004
Sorry
I found solutions.
ThomasV
Tuesday, January 20, 2004
function myFunction(i, j){return data1[i][j]};
obj.setDataText(myFunction);
or
obj.setDataText(new Function("i", "j", "return data1[i][j]"));
Alex (ActiveWidgets)
Tuesday, January 20, 2004
This topic is archived.
Back to support forum
Forum search