DHTMLX Docs & Samples Explorer

Required library edition: This method works with any edition of DHTMLX library
Required library file: datastore_debug.js

Returns the ID of the previous item ( an item with the index == current - 1).

var prev_id = data.previous(id);

Parameters:

  • id - the id of the item in question