procedure expandtree(tree:tunitreeview);
begin
   UniSession.AddJS('setTimeout("' + Tree1.JSName + '.expandAll()", 500)');
end;

05-14 18:45