Add column with filter to an existing grid

I’m adding columns on-the-fly into an existing grid using insertColumn(). I also want to add a numeric filter to this new column. Is it possible?

These new columns are not the only columns in the grid. The first 2 columns are fixed, but the rest of columns change based on user’s selection.

Unfortunatelly the only way is to destruct the header and add new one.