defien tooltip tmeplate for the header.

Is there any way to defined tooltip template for the header. As I want to assigned tooltip dynamically ,kindly guide for same.