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();

Returns

string|numberthe ID of the last item

Example

var id = myDataView.last();

Back to top