Search function not working

Hello , I would like your help in the search funtion , i use this code ,but it just center the first object but the highlightCollection is not working :

When a Part is selected, the default behavior is to show a selection Adornment.

But when a Part is highlighted, there is no default behavior. Any appearance changes must be implemented in your templates. Please read GoJS Highlighting -- Northwoods Software.