Nest all methods of DataItem Object
method returns parent id of the selected item:
$dataItem->get_parent_id();
method allows to set image for any item in tree:
$dataItem->set_image($img)
Parameters:
Can be use with variable number of parameters
$dataItem->set_image($img1,$img2,$img3)
Parameters:
method returns the state of selected item:
$dataItem->get_check_state();
Parameters:
method allows to set state of checkbox related to the item:
$dataItem->set_check_state($value);
Parameters: