Check documentation for the latest version of dhtmlxSuite last DHTMLX Docs

last

returns the ID of the last item (the item with the index == dataCount-1)

string|number last();
string|numberthe ID of the last item

Example

var id = myList.last();

Back to top