Even you can make this kind of dynamic column header by using this very complicated method. But if user export the data into Excel, these column headers won't go together with the data. In Excel, they will be lost what they are looking at because no column header.