Check documentation for the latest version of dhtmlxSuite previous DHTMLX Docs

previous

returns ID of the previous item (item with the index == current - 1)

string|number previous(string|number id);
idstring|numberid of the item in question
string|numberthe id of the previous item

Example

var prev_id = myList.previous(id);

Back to top