I need to control whether the ‘+’ appears in the treegrid when using multitable. I see in the documentation you recommend using the following:
function custom_define($item){
if ($item->get_value("is_a_branch"))
$item->set_kids(true);
else
$item->set_kids(false);
}
$tree->event->attach("beforeRender","custom_define");
But where does this function/override go? or put differently, Where should it be placed?
Thanks in advance.