inserting Rows


I'm wondering if anyone has had any success inserting rows at various places using addRow
My thoughts were
add a row (at the bottom)
set the indices to place this new row where I want it.
set the scrollTop to this row's position

this works ok apart from the fact that the focus is on the last row of the grid not the place I moved the row to.


Chris Angus
February 24,

Take a look at the 'Drag & Drop Demo' at:

It is working with a JS Array directly using the splice command to insert a row in the desired position.

Rob Francis
February 24,
I can't use this approach as I am on a virtual grid.

e.g if I have a 1000 Row grid (rows 0-999) I ant to be able to add the 1001th row (row 1000) at an arbitrary index (0-1000).

Any ideas?

Chris Angus
March 9,
I've been trying to do this for a long time, it's very difficult, let us know if you've found a solution.
March 9,

This topic is archived.

See also:

Back to support forum


Version 2

Looking for AW 2.6 ?
The old site is here.