Skip to main content


changes the id of an element of a data collection

changeId(id: Id, newId?: Id, silent?: boolean): void;


  • id: string - the old id of an item
  • newId: string - optional, the new id; auto-generated if not set
  • silent: boolean - true, to prevent changing the id; otherwise, false

Example"1", "22");

Change log:

added in v6.4