3.2.0

inserting Rows

Hi,

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.

TIA

Chris
Chris Angus
February 24,
Chris,

Take a look at the 'Drag & Drop Demo' at:
http://friendsofaw.com/nuke/modules.php?name=Demos

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
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.
Jenno
March 9,

This topic is archived.

See also:


Back to support forum