Nest all method of DataItem Object and GridDataItem Object
method returns parent id of selected item:
$dataItem->get_parent_id();
method allows to set image for all check states of the node in tree:
$dataItem->set_image($img);
Parameters: