Check documentation for the latest version of dhtmlxSuite locate DHTMLX Docs

locate

returns an item's ID by HTML event (checks if any item is in the area of HTML event)

void locate(Event Object ev);

Parameters

evEvent Objectnative HTML event

Example

some.onclick=function(e){
    var id = myList.locate(e||event);
    if (id)
        do_something();
}

Details

the method returns null if the relative item isn't found

Back to top