:: Forum >>
populating grid with js array - can i clear the array ?
var myText = [
["aaa", "111", "xxx"],
["bbb", "22", "zzz"]
var obj = new AW.UI.Grid;
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?
Wednesday, July 1, 2009
The grid does not create a copy of your array - it just keeps a reference, so you should not modify it unless you want to change the displayed data.
Thursday, July 9, 2009
This topic is archived.
Back to support forum