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

selectItem

selects the specified node (and optionally fires the onClick event)

void selectItem(string|number id,boolean mode,boolean preserve);

Parameters

idstring|numberthe node id
modebooleanif true, the script fires the 'onClick' event for the specified node
preservebooleanif true, the earlier selected nodes will be preserved
Back to top