"moveItemId";

The function "moveItemId"; changes the place of an item in the cascade.

Synopsis

shape.moveItemId(string item, string afterItem);

Parameters

Parameter Description
item item that is moved
afterItem item after which the item is placed

Description

The function "moveItemId"; changes the place of an item in the cascade.

Example

Places the element with the number 4 after the element with the number 3.

main()
{
  string mi, ni;
  mi = "4";
  ni = "3";
  this.moveItemId(mi,ni);
}

Assignment

Cascade, Tree widget