Sorry for my unclearness.
Setting the [headerText] to a function works fine, that is I see correctly the value returned by the associated function getHeaderText (getHeaderText return a string).
The very question is that the getHeaderText function is called continuosly when the mouse is hovering on the grid.
Infact, adding a console.log('getHeaderText') in the function, in the console I see continuosly adding 'getHeaderText' during mouse hovering the component.
Further, in the same component hosting the grid, the app-component, there is a my-component (only for test purpose) where an input field is setted on a simlar function ([text]="getMyComponentText()"); in the getMyComponentText I've added a console.log('getMyComponentText'). Hovering the mouse on the grid component I see continuosly adding 'getHeaderText' and 'getMyComponentText'.
Why this behaviour?
Thanks
Adriano