Setting focus on a node in DHTMLXGridTree

How do i set focus to a tree node in DHTMLXTreegrid? I tried using

myGrid.mark(“12”,“0”,true), it throws a javascript error, although it does highlight the node.Please help with what needs to be done

Please provide the sample to reproduce the issue (it can be sent to