Friendly forum,
I can delete lots of things at once by passing model.remove() an array of indexes to get rid of, and it's very fast, but adding lots of rows takes a really long time.
Is there any way to add a bunch of items to the grid quickly?
model.insert()
and
grid.addRow()
seem to do the same thing, but they are slow enough that adding 200 items to the grid triggers the firefox 'this script is running too long' at least twice before it's able to complete.
Is there a better way?
-jong

fixed it
if you do this:
for (var i = 0; i < additionsArray.length ; i++) {
grid.addRow(additionsArray[i]);
}
grid.endUpdate();
it does the right thing.
-Jon