THead & TFoot trigger?

Is it possible to detect when a thead or tfoot are triggered so that a cfset can be issued for a purpose? This would be at print time also. The thead and tfoot are working for me now but I need to change a variable as each is triggered at printing. Thanks.

what do you mean triggered? client side? coz cfset is server side?