Reorder columns event in interactive table

Hello,

I'd like to know how to "intercept" the interactive table event when someone shift a column.

My problem is that I create columns on the fly with
to display them on several lines but after moving a column the
tags appear.

Using '\\n' is also a problem because at some point I pass the columns' name to a javascript function.

Thanks for your help

Florent