:: Forum >>

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
Friday, February 24, 2006

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
Friday, February 24, 2006
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
Thursday, March 9, 2006
I've been trying to do this for a long time, it's very difficult, let us know if you've found a solution.
Thursday, March 9, 2006

This topic is archived.

Back to support forum

Forum search