DHTMLX Docs & Samples Explorer

last ()

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

var id = data.last();

Parameters:

  • none