populating grid with js array - can i clear the array ?
var myText = [
["aaa", "111", "xxx"],
["bbb", "22", "zzz"]
];
var obj = new AW.UI.Grid;
obj.setCellText(myText);
obj.setColumnCount(3);
obj.setRowCount(2);
document.write(obj);
at this point can i clear the array, like this?
myText.length = 0;
or do i have to keep it around?
sorry its kind of basic, but if i have a large dataset, i am wondering if it will make any performance difference?
["aaa", "111", "xxx"],
["bbb", "22", "zzz"]
];
var obj = new AW.UI.Grid;
obj.setCellText(myText);
obj.setColumnCount(3);
obj.setRowCount(2);
document.write(obj);
at this point can i clear the array, like this?
myText.length = 0;
or do i have to keep it around?
sorry its kind of basic, but if i have a large dataset, i am wondering if it will make any performance difference?
mango
July 1,