I am hoping I can get an example of creating and populating two dimensional array in Dundas script. I have tried various versions of code below and cannot get it to work. Hopefully someone can point me in the right direction.
var 2dArray =
{ {"item0a","item0b"},
{"item1a","item1b"},
{"item2a","item2b"} }
for (int i = 0; i < 2dArray.Length / 2; i++)
{
var vps = viewParameters.filter(function(vp) {
return vp.name == 2sArray[i,0];
})[0];
var paramValue = vps.parameterValue.value;
var columnName = 2dArray[i,1];
. . .
}