Check documentation for the latest version 6.0 of dhtmlxSuite setPosition DHTMLX Docs

setPosition

sets a new position for an item (moves an item to the desired position)

void setPosition(string|number itemId,number pos);

Parameters

itemIdstring|numberthe id of an item
posnumbera new position

Example

myToolbar.setPosition(itemId, pos);

See also
Back to top