You can use the title bar decorator to display extra information about the group in FoamTree's built-in title bar. Hover over a group to see the snippet of its search result.
titleBarDecorator to display the additional datamaxLabelSizeForTitleBar
to Number.MAX_VALUE to show the title bar for all groups