Skip to content

moveUp

decreases the item index and moves the item to the new position

function moveUp(
// the item id
id: id,
// the step of moving
step: number
): void
grid.moveUp("a12",2); //moves the item with id="a12" 2 items up