DHTMLX Docs & Samples Explorer

last ()

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

Returns the ID of the last item ( an item with the index == dataCount-1).

var id = data.last();

Parameters:

  • none